diff --git a/ReactAndroid/src/main/res/devsupport/xml/network_security_config.xml b/template/android/app/src/debug/res/xml/network_security_config.xml similarity index 100% rename from ReactAndroid/src/main/res/devsupport/xml/network_security_config.xml rename to template/android/app/src/debug/res/xml/network_security_config.xml diff --git a/template/android/app/src/main/AndroidManifest.xml b/template/android/app/src/main/AndroidManifest.xml index a6eda6784a2950..1b0c20ef328804 100644 --- a/template/android/app/src/main/AndroidManifest.xml +++ b/template/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,6 @@ + xmlns:tools="http://schemas.android.com/tools" + package="com.helloworld"> @@ -10,7 +11,9 @@ android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" - android:theme="@style/AppTheme"> + android:theme="@style/AppTheme" + android:networkSecurityConfig="@xml/network_security_config" + tools:ignore="GoogleAppIndexingWarning,UnusedAttribute"> + + + localhost + 10.0.2.2 + 10.0.3.2 + +