This Expo config plugin allows you to include a network security config within your app. This is helpful in cases when you need to allow HTTPS interception for tools like Proxyman in your Android app.
Android Device | Android Emulator | iOS Device | iOS Simulator | Web |
---|---|---|---|---|
✅ | ✅ | ❌ | ❌ | ❌ |
{
plugins: [
[
'expo-network-security-config',
{
networkSecurityConfig: './assets/configs/network_security_config.xml',
enable: true,
},
],
];
}
Parameter | Description |
---|---|
networkSecurityConfig | Path to network_security_config.xml |
enable | Enable or disable this config |