Closed ericpanorel closed 10 years ago
10.0.2.2 is your localhost from the emulators point of view. What you need to do is connect your computer and phone to the same local network and set that rootUrl value to the ip address of your computer on that network.
Thanks, you lead me into the right direction!
I still want to test my "backend" locally, with a real device. What should I change? Keeping this line doesn't seem to work.
Error: I/REGISTRATION﹕ Error: failed to connect to /10.0.2.2 (port 8080) after 20000ms