Closed eliaslecomte closed 2 years ago
I've tried editing the CMakeLists.txt but couldn't figure out how to fix this.
@eliaslecomte have you used the master branch? Try it. It works with RN v0.68
I'm having the same issue. Just upgraded from RN 0.65 to 0.68. I'm also on the last version 0.6.12
. Any idea what could be wrong? I'm not using Expo but I'm using react-native-reanimated
as the OP is.
@focux Can you try the master branch and see if that works?
npm install https://github.com/ammarahm-ed/react-native-mmkv-storage
@eliaslecomte have you used the master branch? Try it. It works with RN v0.68
That is working ❤️, thanks!
I'm currently pinned on the latest master commit:
"react-native-mmkv-storage": "git+https://github.com/ammarahm-ed/react-native-mmkv-storage.git#49ecfe1f9930049aa5a5dd235322cbf31d9b178e",
All looks fine, if I come accross something strange, I will let you know!
Am I correct that I now also can remove:
packagingOptions {
pickFirst '**/*.so'
}
(Added because of https://github.com/ammarahm-ed/react-native-mmkv-storage/issues/160)
Am I correct that I now also can remove:
packagingOptions { pickFirst '**/*.so' }
(Added because of https://github.com/ammarahm-ed/react-native-mmkv-storage/issues/160)
I think the you can remove this.
It worked for me as well. Thank you for your help!
@ammarahm-ed works for me as well thanks dude.
So, it works for me when building for debugging but when I do a release build I'm getting the same error. Any idea?
Which command are you using for release. Are you building the release build locally or in CI?
Currently, I'm building locally using Fastlane and the command that is used to build the app is:
gradlew clean app:assembleRelease -p android/
Currently, I'm building locally using Fastlane and the command that is used to build the app is:
gradlew clean app:assembleRelease -p android/
Try without gradlew clean. Just build for release directly and see if that works?
That did it! No idea why It doesn't work with gradlew clean
but thank you for helping me figure it out.
That did it! No idea why It doesn't work with
gradlew clean
but thank you for helping me figure it out.
You can still use gradlew clean. Just run both commands separately. As:
gradlew clean && gradlew ...
.
I will fix this before releasing next version soon. Probably in a couple of days.
I have tried gradlew clean
, but still getting the same error on gradle sync.
React Native 0.80 and "react-native-mmkv-storage": "github:ammarahm-ed/react-native-mmkv-storage#master"
(commit: 49ecfe1f9930049aa5a5dd235322cbf31d9b178e)
Fix released on v0.7.0
Describe the bug Hi, I'm trying to upgrade to React Native 0.68.0 (fom 0.66.x) and am bumping into a c++ error:
To Reproduce Steps to reproduce the behavior:
Platform Information:
Additional context We are also using Expo and react-native-reanimated but didn't have any issue before.