-
-
Notifications
You must be signed in to change notification settings - Fork 235
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 crash on 1.2.5 (1.1.6 downgrade works) #122
Comments
I can confirm i have the same issue. 1.1.6 works. |
i was on react native 64.2 and it was crashing for me, only version 1.1.6 was working |
what? React Native 0.65 works with React Native MMKV 1.2.5??? |
when I was on version 64.2 only version 1.1.6 was working, above versions make android start failure and app crashes |
@mrousavy I can also confirm that |
I just released 1.3.0 (yay 🎉), can you test if that works for you guys? It does work fine in the Example App (which is on RN 0.65.1) |
Tried the latest version 1.3.0 with both with and without herms. Application crashes on the startup. React Native Version: 0.64.2
|
the libjsc error above is not the reason of the crash. That's a caught error. Can you share the lines (msg & stacktrace) below the
line? |
Also,
Again, the example app (RN 0.65.1) works perfectly fine... This crash is really stressing me out |
@mrousavy, |
Android Studio ADB logs automatically get erased after the last line, as the application crashes.
|
does it work with JSC instead of Hermes? |
|
The solution you suggested didn't work.! Tried cleaning and rebuilding multiple times. |
Thanks for your research @PSPatel5, unfortunately it's still not clear to me what's causing this issue. Again, the example app here runs. Please provide a full reproduceable example (public repo) where this crash happens so I can investigate this. This is causing me headaches :( |
Can u create a new RN project (0.64.2) then install this library?. After run Mmkv.install (with reanimated 2.2.0), app crash when start. |
Does it work if you create a new RN project with 0.65.1? |
with RN 0.65.1, it work |
I didn't try with RN 0.65.1. But Here is a public repo I made using a boilerplate which is based on RN 0.64.1. This repo has two branches. One with reanimated-v2 only, which runs fine and gave us an example page as an output. while the other branch is mmkv-test which includes MMKV setup with reanimated that you listed. Here also application crashes as soon as we open the app. Do let me know if you need anything else from my side. |
While I already spent way too much of my free time on this issue to fix the crash for random people on the internet, I spent some more time on this yesterday and finally fixed it. Check out 1.3.1. 🎉🎉🎉🎉 If you appreciate my efforts, please consider buying me a coffee for my next late-night debug session: ❤️ GitHub sponsors |
Crash on startup on Android after upgrading to 1.2.5. Tried both with and without Hermes. Downgrade fixed it.
The text was updated successfully, but these errors were encountered: