Issue
I have seen similar questions on Stackoverflow but none sorted the problem. I have just created new ReactNative project from Expo desktop app. But I can not run it on my Android phone via QR code scan when Expo configuration is set to LAN mode. Which seems not accessible on my Android phone (looks like). My phone is on same Wifi network.
I have also tried to run Expo demo app by turning off Firewalls but still no success. I'm sure your one technical look might soft my issue.
Note: The Expo tunnel was down that's why it loaded in LAN mode. Few days ago I tried Tunnel mode which works. But, at that time too LAN didn't work. So may be any one can point me in right direction, so I can run it in LAN mode (being on Phone and Machine on same Wifi Network).
Solution
After struggling through the XDE Desktop app but no success. Finally decided to try the Expo CLI tool as mentioned here: https://expo.io/learn With few simple steps, it created 1st demo project for me.
And by following CLI command here: https://docs.expo.io/versions/latest/guides/exp-cli.html
I am now able to run my first demo app with simple command e.g. exp start --dev --lan
, which does the same job that XDE (Expo Desktop) app does of configuring settings to LAN and in Developer Mode.
I had gone through every possible solution but non worked for me to setup LAN connectivity, except the Expo CLI tool. Any one facing similar problems? Please go and give CLI a try. But make sure you check your Network Adapter priority settings (as VMWare/VBox network adapter's priority does create problem). As proposed by @mano.
Answered By - Nah
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.