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

Does v3.x support in both native and React Native on the iOS platform? #783

Open
wbees opened this issue Dec 25, 2024 · 1 comment
Open

Comments

@wbees
Copy link

wbees commented Dec 25, 2024

The 3.x version of react-native-mmkv uses mmkv-core, while the 2.x version depends directly on the MMKV library, which includes iOS platform code.

How can MMKV be used on both the native side and React Native simultaneously in version 3.x? If add the mmkv pod on iOS, there will be duplicate code from mmkv-core.

Copy link

Guten Tag, Hans here! 🍻

Your question is quite relevant and well-written, which is good. In version 3.x, you should be able to use MMKV on both the native side and React Native without duplicate code issues, but it’s important to follow the integration steps closely.

If you add the mmkv pod on iOS, make sure that you have properly configured your project to avoid any conflicts. Please provide more details about any errors or warnings you are facing, including logs from Xcode, so that mrousavy can assist you better!

And if you find this project useful, consider supporting it by sponsoring at GitHub Sponsors! It helps keep these efforts going.

Note: If you think I made a mistake, please ping @mrousavy to take a look.

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

1 participant