You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proxies are useful for monitoring the network traffic but require a custom SSL certificate to be added to your emulator or device. Because Android API 24 and above now require [explicit control](https://developer.android.com/training/articles/security-config.html) on custom SSL certificates that are used in apps, you will need to allow for added certs to be added by specifying `res/xml/network_security_config.xml` in your app:
246
+
247
+
```xml
248
+
<?xml version="1.0" encoding="utf-8"?>
249
+
<network-security-config>
250
+
<debug-overrides>
251
+
<trust-anchors>
252
+
<!-- Trust user added CAs while debuggable only -->
253
+
<certificatessrc="user" />
254
+
</trust-anchors>
255
+
</debug-overrides>
256
+
</network-security-config>
257
+
```
258
+
259
+
Inside your AndroidManifest.xml file, make sure to include this `networkSecurityConfig` parameter:
0 commit comments