Allowing cleartext connection for debug builds

If you would like to allow HTTP connections for Android debug
builds, you can add the following snippet to your $project_path\android\app\src\debug\AndroidManifest.xml:

For iOS, you can follow these instructions to create a Info-debug.plist and put this in:

We do not recommend you do this for your release builds.

Additional Information

Build time configuration is the only way to change
network policy. It cannot be modified at runtime.

Localhost connections are always allowed.

You can allow insecure connections only to domains.
Specific IP addresses are not accepted as input.
This is in line with what platforms support. If you would
like to allow IP addresses, the only option is to allow
cleartext connections in your app.

Timeline