We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a4f12 commit 501edd7Copy full SHA for 501edd7
scripts/react-native/android-utils.js
@@ -8,9 +8,9 @@ module.exports = {
8
let androidManifestContents = fs.readFileSync(androidManifestPath, 'utf8')
9
10
// RN 0.82+ uses a manifest placeholder that's autoconfigured by the RN gradle plugin
11
- // eslint-disable-next-line no-template-curly-in-string
+
12
if (androidManifestContents.includes('${usesCleartextTraffic}')) {
13
14
androidManifestContents = androidManifestContents.replace('${usesCleartextTraffic}', 'true')
15
} else {
16
androidManifestContents = androidManifestContents.replace('<application', '<application android:usesCleartextTraffic="true"')
0 commit comments