dominicstop / react-native-ios-context-menu

A react-native component to use context menu's (UIMenu) on iOS 13/14+
MIT License
572 stars 29 forks source link

Android build native module missing #87

Open zeta-gc opened 11 months ago

zeta-gc commented 11 months ago

Hello, i recently updated the package from 1.6 to latest release for presentMenu function, im with expo. With ios everything works fine, but when i build for android i get an error.

ERROR Error: Cannot find native module 'RNIContextMenuView', js engine: hermes ERROR Invariant Violation: "main" has not been registered. This can happen if:

How can i fix that?

andresribeiro commented 6 months ago

+1

AurelienBdl commented 6 months ago

Any update ?

ihdev524 commented 5 months ago

+1

sinarck commented 5 months ago

I have a similar issue as well with expo SDK version 50.0.19 -- works fine on iOS but breaks on android.

joksa commented 5 months ago

and I just gave another shot to Expo and they blew it .... continue work with one and only RN Cli

ICGVIP commented 5 months ago

+1. This shows me an error in iOS Simulator too. Using this on an EAS Build

andresribeiro commented 4 months ago

Workaround: use Platform-Specific Code and create Menu.android.tsx and Menu.ios.tsx

xushnud123 commented 6 days ago

Is there a workaround, I'm having the same problem