-
-
Notifications
You must be signed in to change notification settings - Fork 259
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 with V1.2.0 #98
Comments
I confirm, v1.2.0 is crashing on android .. 1.1.6 is working
|
+1 with 1.2.0 |
Can you guys confirm that react-native-mmkv v1.2.1 fixes the issue for you? |
Hey @mrousavy I tried building v1.2.1, had cleared all cache and did fresh install, still facing the crash at the app start in Android.
|
We have the same problem in out project. I wanted to look into that and tried out our example app. To my surprise, it just worked. Then i copied over one of the resulting .aar files into our project and it worked, too. So it looks like there is a problem with the packaged android.aar. So maybe the problem is in the release management? On another note: there are two android.aar files generated, android-debug.arr and android-release.arr. Looking at the filesize, is seems the debug version is in the npm package. It would be great if an release build would use the release .aar |
Confirmed 1.2.0 and 1.2.1 are both a problem for dev and release versions. Locking to 1.1.6 is the only solution I've found. |
Tried cleaning and rebuilding everything, does v1.2.2 work for you guys? |
node_modules/react-native-mmkv is missing the android folder hence the project fails to compile |
Okay so sorry guys I had to publish a few version before I finally got it right. Take a look at v1.2.5 and let me know if that builds for you now. |
@mrousavy it still crashes with 1.2.5. Also tried with 1.1.6 and it crashes on launch as well |
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) |
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 |
Describe the bug
Crashing in Android with v1.2.0
It was working perfectly with version 1.1.6, then after updating with latest version app started to crash, if I revert back to 1.1.6 it works.
Android logs
Platform Information:
"react": "17.0.2",
"react-native": "0.64.2",
"react-native-reanimated": "^2.2.0",
"react-native-mmkv": "^1.2.0",
The text was updated successfully, but these errors were encountered: