We’re currently debugging our React Native app using Charles Proxy.
On Android, I was able to trust the Charles certificate by adding a network_security_config, which I only include in staging builds.
Here’s what that looks like:
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="@raw/charles_ca" />
<certificates src="system" />
</trust-anchors>
</base-config>
</network-security-config>
However, I haven’t been able to achieve the same setup for iOS yet. Has anyone successfully configured Charles Proxy certificate trust for iOS (staging builds only)? Any guidance or examples would be appreciated.