I had the same issue. I was actually using another library, which depended on @react-native-community/gelocation
, which was react-native-geolocation-service
. I didn't actually follow the installation steps for this. When I did, it worked. I guess since you're upgrading and have unlinked, you need to add this to the Podfile, as it might not support autolinking.
For RN version > 0.60, from geolocation service docs,
Update your 'Podfile' (Add the following to the Podfile)
`pod 'react-native-geolocation', path: '../node_modules/@react-native-community/geolocation'`
Then run pod install
from ios directory