HeadSpin Documentation
Documentation

Recommended network_security_config.xml for network capture

<code class="dcode">res/xml/network_security_config.xml</code> for network capture with Android

Add this file to <code class="dcode">res/xml/network_security_config.xml</code> in your app. See the Android Network Security Configuration docs for more details.


<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config>
        <trust-anchors>
            <certificates src="system" />
            <certificates src="user" />
        </trust-anchors>
    </base-config>
    <debug-overrides>
        <trust-anchors>
            <certificates src="user" />
        </trust-anchors>
    </debug-overrides>
</network-security-config>