Postman mock services not working on flutter android app release - android

I am using postman for a mock api services to test back-end requests on a flutter android app, it works in debug mode however when I create an app release it doesn't work, why is that?

I have found that the solution was simply by adding this to AndroidMainfest.xml
<uses-permission android:name="android.permission.INTERNET" />

Related

converted my flutter into apk file and it wont work

i have a flutter app that has firebase and firestore as backend,
it works fine on the emulator when i changed it into apk, but on the real device on the log in page the loading circle get stuck and the app wont proceed the log in procedure.
i don't why does this happen? it works fine as normal flutter on the device but when its apk it only works on emulator.
here is the pic of the laading being stuck
the pic of the mobile
Did you put the internet permission in your androidManifest.xml?
<uses-permission android:name="android.permission.INTERNET" />
The permission is on by default in a debug build, but not in a release build
go to your flutter project and go /android/app/src/main and open AndroidManifest.xml and add this line under the package tag
<uses-permission android:name="android.permission.INTERNET" />

APIs working on emulator but now working on real device (phone). flutter

I am new to flutter, I am creating a flutter app where I am using different APIs(Third-party APIs).
While running the app on the emulator, It's working perfectly fine but when I generate the APK for it and install it on my phone, it's not working.
All the design and layouts come perfectly fine but when I am about to hit login API, Nothing works.
Thanks in advance.
For release build, you have to add internet permission in AndroidManifest.xml file that is located in my_flutter_project/android/app/src/main/.
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name="io.flutter.app.FlutterApplication"
...

Axios requests is not working in React-native released apk in android latest api level pie?

I am unable to send an API request with any library like Axios fetch to a server with released APK
in react-native in android pie
In debug APK everything is working fine but in released APK not working
I have deployed my server on digital ocean with https protocol and the server is written in flask
my react-native version is 0.59.1
react 16..8.3
android:usesCleartextTraffic="true" in AndroidManifest.xml is also not working
I really need an expert opinion and suggestion that what should I do now
it's been one month that I am unable to resolve this
Just change HTTP to HTTPS, Will solve the problem.
pass this android:usesCleartextTraffic="true" in application tag in AndroidManifest.xml file it work
/// add this line to android manifest to use http when releasing apk in react native

Debug release apk using chrome dev tools

My app connects to the internet in development, however, the apk uploaded to the play store does not pull down data from the api.
How can I debug the release apk using chrome dev tools?
I have the following permissions in my AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
If debug the API response, you do it by setting up the proxy, for that you can use the Charles proxy .
guide https://www.charlesproxy.com/documentation/using-charles/

Windows Azure Authentication Provider is not enabled

I'm developing an Android app with eclipse and using the Windows Azure Mobile Services as a BaaS and when I try to use authentication provider (of Google or Microsoft) from Android SDK provided by Microsoft, it always appears me the following error:
com.microsoft.windowsazure.mobileservices.MobileServiceException:
Logging in with the selected authentication provider is not enabled
Thanks in advance!
I finally figured out the problem! :P
There was a missing configuration line in AndroidManifest.xml file which was the following:
<uses-permission android:name="android.permission.INTERNET" />
I don't know how this happened, but maybe I removed without noticing it. Thanks Akhilesh Mani for the attempt on helping me. But it is helpful anyway. ;)

Categories

Resources