Skip to content

Instantly share code, notes, and snippets.

@Kishanjvaghela
Created May 8, 2018 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kishanjvaghela/c03ab13fa3070342f8953eeccd3d7106 to your computer and use it in GitHub Desktop.
Save Kishanjvaghela/c03ab13fa3070342f8953eeccd3d7106 to your computer and use it in GitHub Desktop.
making charles debugging work on marshmallo and above
+ android:networkSecurityConfig="@xml/network_security_config">
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:android="http://schemas.android.com/apk/res/android">
<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