Skip to content
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

Not working in release mode with new arch enabled (72.6) #317

Open
JohnathanWhite opened this issue Oct 17, 2023 · 1 comment
Open

Not working in release mode with new arch enabled (72.6) #317

JohnathanWhite opened this issue Oct 17, 2023 · 1 comment

Comments

@JohnathanWhite
Copy link

Works in debug but with a release build (w/ new arch) the sheet is not visible.

@mauricedoepke
Copy link

mauricedoepke commented Nov 17, 2023

I was able to solve this issue for me.
I noticed, that directly using the ActionsSheets work, only usage via the SheetManager was broken.

With a bit more debugging, I noticed, that the file with all my registerSheet functions was not imported anywhere and thus the sheets never actiolly got registered. For some reason this file was stil run in dev mode and also in expo sdk 47 release mode.

So I suspect it was most likely not event a react native issue, but a change in the metro bundler and the way it handles non imported files, that caused this issue for me.

TLDR: I forgot to register the actions sheets.

Does that fix it for you as well @JohnathanWhite ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants