react-nativeexpo

React Native Version Mismatch


When running on iOS I am receiving the error "[runtime not ready]: console.error: React Native version mismatch. JavaScript version: 0.81.5 Native Version: 0.79.6"

The app runs fine on android, this is only occurring on iOS.

I have removed my node_modules folder and reinstalled, I have cleared my npm cache, I have restarted my laptop and my phone, but I'm still getting this error. I checked to make sure the version of react-native matches what my version of expo SDK is expecting. There is no expo SDK version in my app.json file to have a mismatch there. I've run npm list and all of my packages are using react-native 0.81.5.

My expo SDK version is ~54.0.24

I'm not sure what else to do here, any help would be much appreciated.


Solution

  • You need to rebuild your iOS app. You must be running one built with 0.79.6. Merely having the right version in your node_modules now is not enough because the native portions of the app need to be compiled with the right version.

    "JavaScript version" is what's in your node_modules and "Native version" is what's in your built app.