After upgrade livereload missing on real device, cannot debug js remotely from real device

Figured out the needed configuration for make live reload work:

jsCodeLocation = [NSURL URLWithString: @"http://192.168.0.200:8081/index.ios.bundle?platform=ios&dev=true"];

note also that without "?platform=ios&dev=true" Hot Reload didn't work for me ("Unbalanced calls start/end" errors).

and in RCTWebSocketExecutor.m:

host = @"http://192.168.0.200";

192.168.0.200 - address of your computer. Both computer and device have to be in the same network. After that "Live Reload" item in "shake" dev menu appeared and also i started to see logs in server console: enter image description here

and also "gotta be on the same wifi network" as @jmancherje mentioned

Tags:

React Native