Skip to content

Commit

Permalink
fix: Enable cleartextTraffic in debug mode only
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Dec 20, 2024
1 parent 131c2d2 commit b3a3129
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,11 @@
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<network-security-config>
<debug-overrides>
<debug-overrides cleartextTrafficPermitted="true">
<trust-anchors>
<!-- Trust user added CAs while debuggable only -->
<certificates src="user" />
<certificates src="system" />
</trust-anchors>
</debug-overrides>

<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
<certificates src="user" />
</trust-anchors>
</base-config>
</network-security-config>

0 comments on commit b3a3129

Please sign in to comment.