Flutter app internet connection Working: realease version apk, Not Working: apk downloading via Google Play Store

Asked 4 weeks ago, Updated 4 weeks ago, 18 views

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.

<uses-permission android:name="android.permission.INTERNET"/>

 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

2022-07-10 10:42

1 Answers

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>


2022-07-10 10:55

If you have any answers or tips


© 2022 pinfo. All rights reserved.