Add react-native-mmkv @beta + nitromodules alongisde the stable version#21
Add react-native-mmkv @beta + nitromodules alongisde the stable version#21
react-native-mmkv @beta + nitromodules alongisde the stable version#21Conversation
|
Looks great thanks! |
|
@mrousavy nope the beta fails on both Android & iOS for different reasons. iOSAndroidSpecifically are you prebuilding anything here? This seems like could be the reason of the failure. |
|
Ah, shit. Both are expected.
|
mmm that's not ideal. Why can't you support 32-bit? I would like to brainstorm more about it as we'd like to avoid this becoming a 'trend'. |
MMKVCore doesn't support 32-bit anymore - at least since their v2 release. See their docs: MMKV for Android:
So I don't really know how else to get around this problem - I could try to make it build and then make it crash at Runtime - but I think that's a worse solution than just not making it build, I guess... |
Yeah fair point. I've asked it here Tencent/MMKV#1580 |
|
@cortinico as stated in the V4 Upgrade guide, the iOS build can be fixed by adding this to the Podfile: If needed, we can make an expo config plugin that does this for Expo projects with CNG. I am willing to do this if needed. This would be necessary only of the MMKV upstream release takes too long. |
It seems that even with that, the Android build does still crash: react-native-mmkv:#881. I don't have a good enough understanding of the Android build process to fix this, but at least the issue includes a repro. |
Cool - sounds good to me. I will try to figure this out going forward then - maybe we can somehow get one build for MMKVCore V2 that still has 32-bit and stay on that for a while. |
|
@Vishal-D4 this is off-topic. But this PR should fix your issue: mrousavy/react-native-mmkv#891 |

cc @mrousavy for visibility