diff --git a/template/android/app/src/debug/AndroidManifest.xml b/template/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 00000000000000..1fce564881ff37 --- /dev/null +++ b/template/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/template/android/app/src/debug/res/xml/network_security_config.xml b/template/android/app/src/debug/res/xml-v28/react_native_config.xml similarity index 100% rename from template/android/app/src/debug/res/xml/network_security_config.xml rename to template/android/app/src/debug/res/xml-v28/react_native_config.xml diff --git a/template/android/app/src/main/AndroidManifest.xml b/template/android/app/src/main/AndroidManifest.xml index 1b0c20ef328804..e5e6330fbdf64d 100644 --- a/template/android/app/src/main/AndroidManifest.xml +++ b/template/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,4 @@ @@ -11,9 +10,7 @@ android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" - android:theme="@style/AppTheme" - android:networkSecurityConfig="@xml/network_security_config" - tools:ignore="GoogleAppIndexingWarning,UnusedAttribute"> + android:theme="@style/AppTheme"> - - - localhost - 10.0.2.2 - 10.0.3.2 - -