Skip to content

Instantly share code, notes, and snippets.

@maks
Forked from erkattak/AndroidManifest.xml
Created April 4, 2019 07:38
Show Gist options
  • Save maks/c0dd466756b7d06f4bec5b3f3ee1584c to your computer and use it in GitHub Desktop.
Save maks/c0dd466756b7d06f4bec5b3f3ee1584c to your computer and use it in GitHub Desktop.
Android Application Setup for use with Charles Proxy
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:networkSecurityConfig="@xml/network_security_config">
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<debug-overrides>
<trust-anchors>
<!-- Trust user added CAs while debuggable only -->
<certificates src="user" />
</trust-anchors>
</debug-overrides>
</network-security-config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment