menu icon indicating copy to clipboard operation
menu copied to clipboard

not working with expo

Open statusunknown418 opened this issue 2 years ago • 8 comments

I think it's a dependency linking issue, any idea how to fix it without opting out from expo managed workflow? I've already tried installing with pnpm expo install ... Screenshot 2023-07-12 at 21 45 11

statusunknown418 avatar Jul 13 '23 02:07 statusunknown418

I've just created a blank expo project and i'm getting the exact same error

yepes avatar Jul 14 '23 12:07 yepes

BTW, running npx expo run:iosshould work. I don't have that error with that (i guess that creates a client instead of using the default expo go?). But, even there, the menu doesn't seem to work

yepes avatar Jul 14 '23 13:07 yepes

seem to have the same problem here.

Expo - 48.0.18 RN - 0.71.8 menu - 0.8.0

eagleeyejack avatar Jul 30 '23 21:07 eagleeyejack

same here with Expo 49, RN 72.3, menu 0.8.0

ozio avatar Aug 06 '23 10:08 ozio

Have you tried creating a development build? My guess is this uses native platform code.

simaofreitas avatar Aug 07 '23 13:08 simaofreitas

Having the same issue, any workarounds?

Edit: I can confirm that the error disappears when I create a development build, since this library does use native components. But unfortunately, this does not work with hot reload so this is not ideal for development..

gino avatar Aug 10 '23 14:08 gino

I'm still having this issue when running in Expo Go. Any ideas on a fix? Doing a development build fixes the issue but and @gino mentioned it's not great for development.

jarchowk avatar Dec 17 '23 11:12 jarchowk

I'm still having this issue when running in Expo Go. Any ideas on a fix? Doing a development build fixes the issue but and @gino mentioned it's not great for development.

As @simaofreitas already pointed out. This backage is using native code under the hood to display the menu and therefore does not work with expo go. You need to build the application for IOS for this to work and need to use a development build to debug it on your device.

LukGer avatar Jan 20 '24 20:01 LukGer