This is an Expo Plugin which enables the Android app to be inspected by Proxyman.
npx expo install expo-android-proxyman
Then add it to your app.json
or app.config.js
:
{
"expo": {
"plugins": [
"expo-android-proxyman"
]
}
}
When the native Android project is generated (e.g. when you run expo prebuild
) this plugin modifies the generated android/app/src/main/AndroidManifest.xml
file, adding android:networkSecurityConfig="@xml/network_security_config"
to the <application>
.
Additionally, it copies the network_security_config.xml
file to res/xml/network_security_config.xml
.