Expo 51 and Rn 74.1 fails at runtime
installed "@react-native-menu/menu": "0.9.1" worked great for months
updated expo 49 to 51 did pod install on rnmm 0.9.1
at runtime, get message Invariant Violation: requireNativeComponent: "RCTUIMenu" was not found in the UIManager.
also what was the breaking changes from 0.9.1 to 1.n.n? missing migration guide
What about using v1.0.2?
Same error here
Invariant Violation: requireNativeComponent: "MenuView" was not found in the UIManager.
Any update on this? I am on expo 51 and got the same "MenuView" was not found in the UIManager error
Any update on this? I am on expo 51 and got the same "MenuView" was not found in the UIManager error
Make sure you create a development build of your Expo app after installing @react-native-menu/menu
If you get this error after upgrading to a later Expo SDK, you can try deleting your android and ios directories. If you add the following to your .gitignore file, then the Expo build servers will be able to generate them on the fly during the build process:
/android/
/ios/
Any update on this? I am on expo 51 and got the same "MenuView" was not found in the UIManager error
Make sure you create a development build of your Expo app after installing
@react-native-menu/menuIf you get this error after upgrading to a later Expo SDK, you can try deleting yourandroidandiosdirectories. If you add the following to your.gitignorefile, then the Expo build servers will be able to generate them on the fly during the build process:/android/ /ios/
I'm on expo 51 and my build is failing because of this package. I recently just upgraded from 50 to 51. Please find the error below
Task :react-native-menu_menu:compileDebugKotlin FAILED
e: file:///Users/wizzy/Desktop/Code/cycle/Cyclekit-Vendor/node_modules/@react-native-menu/menu/android/src/main/java/com/reactnativemenu/MenuViewManager.kd
e: file:///Users/wizzy/Desktop/Code/cycle/Cyclekit-Vendor/node_modules/@react-native-menu/menu/android/src/main/java/com/reactnativemenu/MenuViewManager.kd
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-menu_menu:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
Running ok while trying using the latest expo and latest package -
"@react-native-menu/menu": "^1.2.0", "expo": "~52.0.24",
- Successfully created dev-build using eas build ios(locally) and android(eas-servers)
- Successfully ran the "usage" code in the readme.md.
- On running the dev-client on both platforms - the menu opened as expected. IOS - long-press; Android - press;
- Clicking on "Show Menu .." button produced error, even on Android(error on android -
Error: Exception in HostFunction: com.facebook.react.bridge.UnexpectedNativeTypeException: expected Array, got a null)