I'm trying to use @react-native-community/geolocation inside my iOS app. I'm testing with my macOs iOS emulator and I'm getting this error:
Error: The package '@react-native-community/geolocation' doesn't seem to be linked. Make sure:
- You have run 'pod install'
- You rebuilt the app after installing the package
- You are not using Expo managed workflow
, js engine: hermes
ERROR Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes
I read some blogs about auto-link and I follow that steps (pod install, etc.). I also try to remove the package-lock.json and node-modules but I got the same error..
This is the way how I'm importing the library: import Geolocation from "@react-native-community/geolocation";.
Hi all!
I'm trying to use @react-native-community/geolocation inside my iOS app. I'm testing with my macOs iOS emulator and I'm getting this error:
I read some blogs about auto-link and I follow that steps (pod install, etc.). I also try to remove the package-lock.json and node-modules but I got the same error..
This is the way how I'm importing the library:
import Geolocation from "@react-native-community/geolocation";
.Do you have any ideas?