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
{{ message }}
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
To enable usesCleartextTraffic=true only for non-release environments, you can use a Gradle-based approach with manifest placeholders. Here's how to do it:
Define a placeholder in AndroidManifest.xml:
In your AndroidManifest.xml, update the usesCleartextTraffic attribute with a placeholder:
This will set usesCleartextTraffic to true for non-release builds like debug and false for release builds. You can adjust the values based on the environments you want.
By default npm start + npm run android runs in debug mode.
ios is unaffected, since it has always been HTTPS.
Without this the debug tool and Metro server, neither work. Like first upload is done and r key has no effect in Metro