Reputation: 85
Flutter app does not load content that needs to be fetched by API call. My server is http://{ serverIP }/
. While live debuging it loads the content on all devices without any issue. but after release, it only works on the device which has an android version. I tried this android:usesCleartextTraffic="true"
but did not solve that issue.
Upvotes: 1
Views: 740
Reputation: 1067
add android:usesCleartextTraffic="true"
to AndroidManifest.xml
then follow this step:
it solves my problem a few days ago.
Upvotes: 4