Issue
I just expo init
a project and start it, then scan QR code lan connection on dev tool with my physical device on Expo Go but it not working. I realise that expo go app running 127.0.0.1 instead of pc ip. How can I fix it ?
Waiting on exp://127.0.0.1:19000
// It must be like this Waiting on exp://192.168.1.10:19000
› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)
› Press a │ open Android
› Press w │ open web
› Press r │ reload app
› Press m │ toggle menu in Expo Go
› Press d │ show developer tools
› shift+d │ toggle auto opening developer tools on startup (disabled)
› Press ? │ show all commands
Logs for your project will appear below. Press Ctrl+C to exit.```
Solution
I solve my problem by using a QR code generator and type exp://[MY_LAN_IP]:19000
instead of exp://127.0.0.1:19000
then scan it.
I don't think my solution is an orthodox method, but better physical than using the emulator
Answered By - NGK
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.