Get error when try in expo
Error: The package 'react-native-otp-verify' doesn't seem to be linked. Make sure:
- 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.registerComponentwasn't called., js engine: hermes
same error is happening to me.
Yes, Same error, tried rebuilding the app, but not working. Please post any solution if found.
This library has not been tested in Expo
Facing same issue !. Any quick resolution or what can be done ?
facing the same issue, expo is much more in use right now, can we get expo support for this library?
https://docs.expo.dev/guides/local-app-development/
By running expo development build on simulator it's working fine for me, anyone facing issue once try the above steps on how to generate local app development build and running the build on simulator
If you already have the build and still facing issue
- try deleting the ios and android folders in your project folder and re run the below commands
npx expo run:iosnpx expo run:android
This only for Expo EAS, will not work with Expo Go, if you use prebuild, so just delete ios folder