-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invariant Violation: requireNativeComponent: "ContextMenu" was not found in the UIManager. #77
Comments
Same issue with react-native 0.71.8 |
same issue now it is 0.78 |
For Expo users: I was able to solve this by simply rebuilding in Expo. |
Same issue - @AlanHazel how did you rebuild expo? expo start with the --clear flag? |
clearing the cache build doesn't help in expo |
I updated the example app to the latest react native and built fresh and I am not seeing the error unfortunately |
Can it be the android version? |
I had this issue at one point on android, and running the following cleared it up: rm -rf node_modules
cd android
./gradlew clean
cd ../
yarn install
react-native run-android --reset-cache |
Same problem with Expo here. My versions: This lib is 1.14.1, Expo v. 49.0.21, React Native v. 0.72.6. Tried cleaning Expo cache, expo install --check, start with npx expo start --clear, nothing worked. I get the same error both in Android and iOS. |
@mpiannucci please have a look, I am also getting the same issue. "expo": "~49.0.21" |
I also faced this issue in expo and when i run with development build, i can able to use the component without any error. |
For those who are still facing the error on
|
Also an issue in: |
Has anyone fixed this? |
Bump. Running into the same issue still. I created a development build, and can get it to run in the simulator using |
I don't think it will ever work in expo go. You need to install the dev build on an actual device |
Yeah, I realized Expo Go can't render some native components so things like this will only ever work in a dev build. |
When using this component I encounter the following error:
ios works fine but android gives error.
I've tried:
Restarting computer
Re-adding and re installing with yarn (I don't use npm)
A bunch of stuff with pods I can't even remember
"react-native-context-menu-view": "^1.9.1"
"react-native": "0.69.7",
The text was updated successfully, but these errors were encountered: