You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Debug on device documentation possibly incorrect. #15293
I assumed the device would attempt to connect to the packager.
Actual Behavior
It did not unless I hardcoded my laptops IP as jsCodeLocation in appDelegate.
I attempted clean builds, new projects, reset node cache, read several stack overflow posts and github issues.
It is still not clear to me whether this should work without changng jsCodeLocation or whether that is required, surely the docs should mention this if it is required?
It should work without specifying an IP address, this hasn't changed. The docs mention the following:
If you have any issues, ensure that your Mac and device are on the same network and can reach each other. Many open wireless networks with captive portals are configured to prevent devices from reaching other devices on the network. You may use your device's Personal Hotspot feature in this case.
Does this apply to your network?
Also worth noting, they also mention that this guide only applies to the react-native init way of creating projects (your issue mentions CRNA).
That does not apply to my network, I can connect just fine by hitting the packager in a web browser via wifi.
This report applies to both ejected CRNA apps in Xcode and those created with react-native unit. I tried both.
Sent from mobile.
On 31 Jul 2017, at 20:22, Héctor Ramos ***@***.***> wrote:
It should work without specifying an IP address, this hasn't changed. The docs mention the following:
If you have any issues, ensure that your Mac and device are on the same network and can reach each other. Many open wireless networks with captive portals are configured to prevent devices from reaching other devices on the network. You may use your device's Personal Hotspot feature in this case.
Does this apply to your network?
Also worth noting, they also mention that this guide only applies to the react-native init way of creating projects (your issue mentions CRNA).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Activity
hramos commentedon Jul 31, 2017
It should work without specifying an IP address, this hasn't changed. The docs mention the following:
Does this apply to your network?
Also worth noting, they also mention that this guide only applies to the
react-native initway of creating projects (your issue mentions CRNA).formatlos commentedon Jul 31, 2017
I've filed a PR for the docs with a troubleshooting section a while ago. If you follow the steps you'll most likely find the problem ... #14885
p-m-j commentedon Jul 31, 2017
p-m-j commentedon Jul 31, 2017
Thanks @formatios will try this shortly and report back.
hramos commentedon Jul 31, 2017
Let me see why that PR has not yet landed...
p-m-j commentedon Aug 2, 2017
Sorry for late response, indeed the new toubleshooting helped.
In case it helps anyone else I am running DNSMasq on my DDWRT router, adding the following to my DNSMasq options resolved the problem.