Skip to content

Commit 965f2df

Browse files
cortinicofacebook-github-bot
authored andcommitted
Migrate helloworld to use {usesCleartextTraffic} manifest placeholder
Summary: This removes the need to specify 2 Manifests for apps and we can just use the `main` manifes to toggle if `usesCleartextTraffic` should be enabled or not. This will have to be replicated in the template repository. Changelog: [Android] [Added] - Add support to specify a single Manifest rather than 2 (main/debug) by using the `usesCleartextTraffic` manifest placeholder which is autoconfigured by RNGP. Differential Revision: D78425139
1 parent 47837bf commit 965f2df

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

private/helloworld/android/app/src/debug/AndroidManifest.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

private/helloworld/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
android:icon="@mipmap/ic_launcher"
99
android:roundIcon="@mipmap/ic_launcher_round"
1010
android:allowBackup="false"
11+
android:usesCleartextTraffic="${usesCleartextTraffic}"
1112
android:theme="@style/AppTheme">
1213
<activity
1314
android:name=".MainActivity"

0 commit comments

Comments
 (0)