After upgrade to 0.59 the development build fails with the following error. It worked fine till 0.58.6
"Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle is packaged correctly for release."
I have also added android:usesCleartextTraffic="true" in AndroidManifest.xml but it still won't work. The release build works fine though.

You need to change your target sdk to 27 instead of 28 in your project level build.gradle. From Android P(28), Google ban the use of http.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With