Repository navigation
Commit 076d7f5
committed
Fix: Allow users to override usesCleartextTraffic in build.gradle manifestPlaceholders
Previously, the React Native Gradle plugin always overwrote the usesCleartextTraffic
manifest placeholder regardless of user configuration. This change checks if the
user has already set a value before overriding it with the default.
Fixes #600831 parent 5a14634 commit 076d7f5
1 file changed
Lines changed: 9 additions & 3 deletions
File tree
- packages/gradle-plugin/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
0 commit comments