-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
3.0.0-beta.7 build issue with RN 0.75 #718
Comments
Guten Tag, Hans here! 🍻 It looks like you are facing a build issue with react-native-mmkv and RN 0.75, but I need more information to help you out. Could you please provide build logs from either Xcode (for iOS) or adb logcat (for Android)? This information is crucial for mrousavy to diagnose the problem. Also, some details about your environment, like your OS version and any other relevant info, would be very helpful. Let’s work together to resolve this!
|
I was built on MacOS Sonoma 14 with new architect of react native enabled.
|
I have the same problem. Enable new architecture.
|
Same here, also with Android "react-native": "0.75.1" @mrousavy is there a possibility to check this one? |
I recently upgraded my RN Android application to 75.1 with the new architecture enabled and I am also experiencing this issue. After looking into it a little bit it looks like it is a naming problem with the new CodeGen. For example, the MmkvCxxMode enum is now named NativeMmkvMode in the new CodeGen. After correcting the naming differences my app does build successfully. I spent maybe 15 minutes on this and have not fully re-tested my application, but I have included the patch in case someone else wants to use it or if it might help point @mrousavy in the right direction. |
@davebray131 your solution works for me. Do you consider to make a PR? |
At the moment I don't have free time. I think I'll create a $400 moneypool for this one, then I'll take a look. |
Or if you create a PR then this is fixed @davebray131 - I can check that out, try it & do a release once I have free time though. |
I will see if I can find time to generate a PR today. I have been using the patch since I made it and have not encountered any issues. |
released in react-native-mmkv 3.0.2 🚀 If you appreciate me dedicating time to fix things and improve things here, please consider sponsoring me on GitHub 🙏 |
I've tried building a new Expo project with new architecture ( {
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"expo": "~51.0.24",
"expo-build-properties": "~0.12.4",
"expo-image": "~1.12.13",
"expo-linear-gradient": "~13.0.2",
"expo-splash-screen": "~0.27.5",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "0.74.3",
"react-native-mmkv": "^3.0.2"
},
"devDependencies": {
"@babel/core": "^7.20.0"
},
"name": "test",
"version": "1.0.0",
"private": true
} Here's the build log: xcodebuild.log. |
The text was updated successfully, but these errors were encountered: