Home > Back-end >  Flutter app working when building release-APK but not when provided via Google Play Store
Flutter app working when building release-APK but not when provided via Google Play Store

Time:09-24

We have an app connected to the internet.

Building a release APK is working and the app is connected to the internet. Building a App Bundle, uploading it in the Google Play store and

  • installing it via Google Play the app is running but gets no connection to the internet.
  • downloading the apk via the App Bundle Explorer in the Google Play Console the app is running but gets no connection to the internet.

I also see the android.permission.INTERNET is set...

What can be the problem in my case?

CodePudding user response:

There is a manifest file in this directory

android/app/src/debug/AndroidManifest.xml

Copy the internet permission from above directory and to add the internet permission in this directory

android/app/src/main/AndroidManifest.xml

CodePudding user response:

<application android:label="APP_NAME" android:usesCleartextTraffic="true" //Add This>
</application>

<uses-permission android:name="android.permission.INTERNET"/> //Add This
  • Related