I have tried a lot to build a mobile app using expo with react native. Although I want to run the app using npm start command it outputs the QR code. But when I scan it using my expo client app on iphone. My app is not rendering.
I have tried a lot to build a mobile app using expo with react native. Although I want to run the app using npm start command it outputs the QR code. But when I scan it using my expo client app on iphone. My app is not rendering.
I recommend to create an expo account and login in your terminal
expo login
Then login in your app and your project will appear, no need to scan qr code each time and your builds will be accessible everytime.
Run following in your terminal:
expo-cli start --tunnel
Your project will appear in Expo App.
Both devices must be connected to the same Wi-Fi though.
there is a workaround for the QR way of getting things done. Below worked for me.
www.the-qrcode-generator.com get QR code for the url: exp://<public ip of the ec2/ VM>:19000 . Send the QR code to people.