Skip to content

Instantly share code, notes, and snippets.

@erkattak
Created June 19, 2017 18:47
Show Gist options
  • Save erkattak/804bb7e81759f80d2ed4abed27875766 to your computer and use it in GitHub Desktop.
Save erkattak/804bb7e81759f80d2ed4abed27875766 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>
@icerda
Copy link

icerda commented Apr 9, 2019

It works!

@VijaiGunasekar
Copy link

It works!

does copy this and pasting works or should i do something extra?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment