I made an app using react native. The app connects to the api that I made. I followed these steps : https://facebook.github.io/react-native/docs/signed-apk-android, and now the app doesn't work if i do react-native run-android --variant=release.The app installs, but I can't login in the app. Is there any way to see if I get any errors or something?
I tried searching for a way to show the debbuging console even if the variant is release, but i can't find any
I want the app the work as the one that is not in release variant.
maybe you need to add android:usesCleartextTraffic="true"
inside the application
tag in the AndroidManifest.xml .
Something like this:
<application
...
android:usesCleartextTraffic="true"
...
>
...
</application>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With