Amazon_Android_Integration_Verification - imobile/app-mediation GitHub Wiki
Before using Charles to monitor your Android app traffic, you must add configuration to the project to trust Charles on Android devices on version N and later (v7.0+). Otherwise, Charles will be blocked from monitoring any requests on the Android device. Add the file res/xml/network_security_config.xml to your Android project:
<network-security-config>
<debug-overrides>
<trust-anchors>
<!-- Trust user added CAs while debuggable only -->
<certificates src="user" />
</trust-anchors>
</debug-overrides>
</network-security-config>
Then add the following reference to your AndroidManifest.xml file:
<?xml version="1.0" encoding="utf-8"?>
<manifest ... >
<application android:networkSecurityConfig="@xml/network_security_config" ... >
...
</application>
</manifest>