RN0.26 Debug JS Remotely freezes app

By : Cole
Source: Stackoverflow.com
Question!

I recently upgraded react native from 0.24 to 0.26.2. My app ran and debugged in chrome fine before. Since upgrading to 0.26.2, my app runs fine, but when I try to 'Debug JS Remotely' it freezes up. Has anyone else experienced this or come up with a solution?

Not sure what relevant code to share. Here is package.json:

  "dependencies": {
    "react": "15.0.2",
    "react-native": "^0.26.2",
    "react-native-lock": "^0.2.0",
    "react-native-router-flux": "^3.26.5",
    "react-redux": "^4.4.5",
    "redux": "^3.5.2",
    "redux-persist": "^3.1.1",
    "redux-saga": "^0.9.5"
  },
  "devDependencies": {}

Thanks!

By : Cole


Answers

I ran into this exact issue today, also updating from 0.24 to 0.26.2.

My error was: my native binaries had been built against [email protected], and [email protected]

After updating to the required version [email protected], wiping my build artifacts, and rebuilding, the problem went away.

By : Ian


This video can help you solving your question :)
By: admin