I have an app connected to the internet.
If I build a release version apk and install it directly on my phone, it connects to the Internet well. This version was submitted to the Google Play Console as a production and tested by Google, and the tester was verified and approved and officially released. When the tester tested, the log also showed that the Internet was actually connected. However, if I download it from Google Play and install it, the Internet is not connected.
If I searched for a solution, I could add the following settings to the android/app/src/main/AndroidManifest.xml file.
However, it has not been resolved.
If you connect to http, it will be solved by adding the following, but we are only connecting to https.
<application android:label="APP_NAME" android:usesCleartextTraffic="true"
</application>
How can I solve this?
flutter
If you use https only, try adding the settings below. I solved it by adding it. Maybe it will be blocked if it includes a code that uses http even a little bit.
<application android:label="APP_NAME" android:usesCleartextTraffic="true"
</application>
© 2024 OneMinuteCode. All rights reserved.