How to enable Live Reload in iOS Device running React Native app?

protspace picture protspace · Aug 4, 2016 · Viewed 17.4k times · Source

I'm trying to enable Live Reload mode, but there is no such item in Dev Menu: no item called 'Live Reload'

Answer

Bruce Lee picture Bruce Lee · Dec 2, 2016

You have this problem is mainly because your device and your development machine is not in the same LAN. check if it is. Make sure your computer and your device connected in the save LAN, everything will be ok.

After all ur devices connected to the same LAN. And if u are using Xcode.

  1. Close the React Native packager (or just close the terminal window)
  2. Delete the app in your iOS device
  3. Clean Xcode project.
  4. Run command npm start -- reset-cache

Then everything will be OK.