How to verify that metro is running

0
I developped an native application. I downloaded Make It Native App on my android. When I scan the QR Code I have this issue  So I tried to run npx react-native start. But I always have this error PS C:\Users\natha\Mendix\NativeInspectionApp-main> npx react-native start ⚠️ react-native depends on @react-native-community/cli for cli commands. To fix update your package.json to include: "devDependencies": { "@react-native-community/cli": "latest", }. Even after modification. What do you suggest ? Thank you
asked
2 answers
0

Maybe you should use the correct Make it Native 10 for your Studio Pro version

See: 

https://docs.mendix.com/refguide/mobile/getting-started-with-mobile/prerequisites/#get-min-app

 

To be honest, I almost never use the Make it Native!  I always build my own custom app launcher (using Android Studio or XCode)

https://docs.mendix.com/refguide/mobile/distributing-mobile-apps/building-native-apps/how-to-devapps/

 

Besides that, I guess you cannot use Metro to launch Mendix Apps. Only Make it Native 10 or your Custom Developer App.

answered
0

Hi have you check the if the firewall is not blocking the incoming requests?, you can try adding some rules to allow remote connections to specific ports, in this case 8080 and 8083, you can run Power Shell as administrator and execute this command:

 

netsh advfirewall firewall add rule name="Open Port 80" dir=in action=allow protocol=TCP localport=80
answered