expo-network-security-config
v1.0.1
Published
This Expo config plugin allows you to include a network security config within your app.
Downloads
225
Maintainers
Readme
Expo Network Security Config
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.
Platform Compatibility
| Android Device | Android Emulator | iOS Device | iOS Simulator | Web | | -------------- | ---------------- | ---------- | ------------- | --- | | ✅ | ✅ | ❌ | ❌ | ❌ |
Usage
{
plugins: [
[
'expo-network-security-config',
{
networkSecurityConfig: './assets/configs/network_security_config.xml',
enable: true,
},
],
];
}
API
| Parameter | Description | | --------------------- | ----------------------------------- | | networkSecurityConfig | Path to network_security_config.xml | | enable | Enable or disable this config |