memelkak.blogg.se

Metro 4 download the new version for android
Metro 4 download the new version for android








Metro 4 download the new version for android

You can test it from the browser on your device. Then you can follow goldylucks's answer and goto Dev settings and enter 192.168.0.10:8081 or whatever IP you need. It will be using TCP, so make sure TCP is open on port 8081. Then, you could open port 8081 in your firewall, something like: sudo ufw allow 8081 You will see your IP in there, something like: inet 192.168.0.10/24 brd 192.168.0.255 scope global dynamic noprefixroute enp0s25 (notice the 192.168.0.10 in my sample). In Ubuntu 18.04, you can get your IP by: ip -c addr show

Metro 4 download the new version for android

You may need to open your firewall as well. To add to goldylucks's answer, you can use IP 192.168.0.10 if that is the IP of your PC running the React Native packager. Then, you need to clean and rebuild for Android! cd /android Go to /android/app/src/debug/res/xml/react_native_config.xmlĪdd a new line with your own IP address in the like: Īs my computer's local IP (check from ifconfig for linux) is 192.168.29.96, I added the above line in *** I found that in debug variant, there is already a network-security-config which is defined by react-native guys, that conflicts with the main variant. So, I tried to inspect my react-native app's source. Even after adding android:usesCleartextTraffic="true", I found this in the logcat: 06-25 02:32:34.561 32001 32001 E unknown:ReactNative: Caused by: : CLEARTEXT communication to 192.168.29.96 not permitted by network security policy Well, so after trying all possible solutions I found on the web, I decided to investigate the native Android logcat manually. This is applicable to Android 9.0+ according to the Network Security Configuration.










Metro 4 download the new version for android