-
-
Notifications
You must be signed in to change notification settings - Fork 263
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 does not correctly autolink #37
Comments
I also had to |
I believe this works with v1.2.5 now, let me know if anyone can confirm |
|
MMKVJSIPackage.java
|
im using sir the latest version "react-native-mmkv": "^1.2.5", |
This should work with 1.3.0 and above, so you can revert those two steps mentioned in my original comment. Let me know if you are still having issues autolinking MMKV. |
MMKV does not show up in the left side of Android Studio (dependencies), and can therefore not be imported (as shown in the installation step in the readme).
The current workaround for this is:
settings.gradle
:build.gradle
(inapp/
), inside ofdependencies
(underimplementation("com.facebook.react:react-native:+")
):implementation project(':react-native-mmkv')
I am not sure what is missing from my configuration, but this will likely change soon when TurboModules will be released (maybe RN 0.65?), because I will rewrite the library - no extra installation steps will be needed then!
The text was updated successfully, but these errors were encountered: