Commit f252a0a
committed
Gate cleartext HTTP traffic settings to non-production variants
NSAllowsArbitraryLoads on iOS and the withAndroidCleartextTraffic plugin
were applied unconditionally to all build variants, including production.
This exposed production users to potential man-in-the-middle attacks.
Now both settings are only applied for development and preview variants,
using the existing APP_VARIANT infrastructure.1 parent acdfb6a commit f252a0a
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
131 | | - | |
| 133 | + | |
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
| |||
0 commit comments