Skip to content
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

mmkv usage incompatible with expo in 3.1+ #16

Open
hishammalik opened this issue Apr 24, 2024 · 1 comment
Open

mmkv usage incompatible with expo in 3.1+ #16

hishammalik opened this issue Apr 24, 2024 · 1 comment

Comments

@hishammalik
Copy link

Library is no longer expo compatible with mmkv usage. This was an issue with react-native-mmkv (https://github.com/mrousavy/react-native-mmkv) but then expo compatibility was added in. See mrousavy/react-native-mmkv#261.

Please consider adding expo compatibility. Application crashes with error java.lang.UnsatisfiedLinkError. Following is the log trace

04-23 13:01:19.637 7038 7100 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:984)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1562)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.tencent.mmkv.MMKV.doInitialize(MMKV.java:226)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.tencent.mmkv.MMKV.initialize(MMKV.java:208)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.tencent.mmkv.MMKV.initialize(MMKV.java:94)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.eko.RNBackgroundDownloaderModule.(RNBackgroundDownloaderModule.java:171)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.eko.RNBackgroundDownloaderPackage.createNativeModules(RNBackgroundDownloaderPackage.java:15)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:43)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1458)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1429)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1331)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.lambda$runCreateReactContextOnNewThread$2(ReactInstanceManager.java:1101)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.$r8$lambda$AwGS8CysOZmWJw3kRVARHQvw9Ew(ReactInstanceManager.java)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at com.facebook.react.ReactInstanceManager$$ExternalSyntheticLambda5.run(D8$$SyntheticClass)
04-23 13:01:19.637 7038 7100 E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)

kesha-antonov pushed a commit that referenced this issue Jul 8, 2024
fix: Fixing a couple bugs with downloads.
@Houuse
Copy link

Houuse commented Jul 13, 2024

any solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants