After upgrading my react-native version from 0.68.5 to 0.70.5. I am constantly getting this error on starting the JS bundler.
I have tried multiple things like upgrading the #react-native-community/cli version in my package.json file, etc. But nothing worked.
Does anyone have any idea about this issue?
Thanks in advance!
I upgraded the react and react-native for my project. After upgrading the project I got the error from react-native-reanimated. I went through the official website for react-native-reanimated still dont know why I got this error.
Failed to transform react-native-reanimated-65-hermes.aar (project :react-native-reanimated) to match attributes {artifactType=android-manifest}.
"react": "17.0.2",
"react-native": "0.65.0"
Thanks!!
I have a react-native app, and I'm trying to recover the user credentials after the timeout (token expiration). But when I use the function "getGenericPassword()" my app doesn't get the credentials, the app continues running but I can't get the desired values. I get no error or warning from the log. There are no information.
Some additionals about the package.json:
"react-native": "0.61.5"
"react-native-keychain": "5.0.1"
Could someone help me with that?
Thank you in advance!
If someone is stucked here, I solve the problem updating the version from react-native-keychain to 7.0.0 and increasing the compileSdkVersion to 28
I have installed the latest version of react-native 0.60.5 using react-native CLI, have followed all the steps. I am not getting any error in terminal or console (http://localhost:8081/debugger-ui/).
Please help me if anyone facing this issue and resolved it.
Thanks in advance.
Just downloaded the newest version of Expo XDE(2.20.1) and trying to convert an existing react native project into it. I followed precisely these steps, and when opening the app in Expo client on a real device, I got an error saying:
undefined is not an object (evaluating 'nativeVersion.major')
The problem happens both on Android and iOS.
Seems expo has a strict requirement of react/react-native versions, but unfortunately, I cannot find the version requirement list.
My current dependencies (which are quite up-to-date) are:
"react": "16.0.0",
"react-native": "0.49.3"
So, does this error indeed came from version conflicts? And if so, how do I solve the problem?
Your JS dependencies need to match the native code. With Expo SDK 21, which is based off of React Native 0.48, you can either use (recommended):
"react": "16.0.0-alpha.12",
"react-native": "https://github.com/expo/react-native/archive/sdk-21.0.2.tar.gz",
or:
"react": "16.0.0-alpha.12",
"react-native": "^0.48.4",
It's important you are careful with the versions when you update your dependencies. The upcoming React Native 0.49 (supported with Expo SDK 22) needs to use React 16.0.0-beta.5.
It might be easiest to create a new Expo project from scratch, then copy over your components. I've done this several times myself, and it's far easier than fighting whatever edge condition has affected you.
Remove your iOS build (./app/ios/build) folder and re-build.