-
Notifications
You must be signed in to change notification settings - Fork 584
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
Android App crash instantly after add Realm + React Navigation Drawer (screens/gesture handler/hermes) #4301
Comments
I forgot to mention that i had to add react-native-reanimated too for the react-navigation/drawer. |
@gabrielporcher alternatively, you can try our Hermes release branch, which is compatible with reanimated v2:
Let us know if that helps! |
Hi @takameyer, Last night I was debuggin my app dependencies and doing some researches to found the root of the problem, and i found your commentary #3837 . I tried your Hermes release branch and looks like its working perfectly with reanimated v2. Thank you! |
@gabrielporcher Happy its working for you :) |
@takameyer is Realm JavaScript v11.0.0-rc.1 this version compatible with RN 0.66 and below 0.69? Because, v11.0.0-rc.0 is compatible with those. |
How frequently does the bug occur?
All the time
Description
Hello,
I'm working on a fresh react native project (CLI). So I started adding and configuring React navigation (Stack and Drawer). Also i added React-native gesture handler, react native screens and hermes (because both are dependencies to react navigation). Until here, everything was fine.
After this, I added MongoDB Realm (npm install realm) but then my app started to fail. The app install with build successful, but when I try to open app in emulator it just close instantly, without any errors. The only messaged displayed is this:
I spent a whole day researching and trying to fix it, but i just couldnt do anything.
So I created a new project and started in reverse way. First, installed and configured Realm, and everything was fine. Then, I added react-navigation stack and still ok. But when I added react native navigation Drawer and configured its dependencies (gesture handler and react native screens, also I had to enable hermes because its a screens must have) the app started to crashes exactly the same as the previous app.
I tried to fix it in so many ways but nothing seems to work. I'm starting to get desperate, because it's been 2 days since I can't do anything in my app :C
In addition, I just cant create a log because my app doesnt even start.
Stacktrace & log output
Can you reproduce the bug?
Yes, always
Reproduction Steps
Version
30
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
Are you using encryption?
No, not using encryption
Platform OS and version(s)
Android
Build environment
Which debugger for React Native: ..
Cocoapods version
No response
The text was updated successfully, but these errors were encountered: