Missing piece in upgrade guide to 0.59 #23949
Labels
Resolution: Fixed
A PR that fixes this issue has been merged.
Resolution: Locked
This issue was locked by the bot.
Type: Docs
Issues concerning the docs are tracked elsewhere: https://github.com/facebook/react-native-website
Local development builds fail with
targetSdkVersion
28 because starting from Android 9, clearText support is disabled (https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted). It is not mentioned anywhere in the docs, maybe we could include it somewhere?To make sure the app is able to communicate with metro bundler, you need to add
android:usesCleartextTraffic="true"
to your AndroidManifest.xml file so it should finally look something like:If you don't add this, your app would build and launch but would fail with the following screen:
The text was updated successfully, but these errors were encountered: