I develop a full stack application. I use flutter as frontend and nodejs + express js as backend.
I built and released ios version to testflight and everywthing worksfine.
But when I install apk on android physical devise(galaxy j7 and galaxy s20) something went wrong. When I try to retrive some data through application(for example user data), I get nothing.
I use hosting and there is PM2 installed so I can see console.log of my backend and there is nothing too. It just seems that application don't address server.
Can anybody tell me where could be mistake?
I also check android emulator and there everything was ok.
can you check if you have Internet permission in your AndroidManifest.xml
file for main : android/app/src/main/AndroidManifest.xml ?
If not you can add it like this
<manifest>
// [...]
<uses-permission android:name="android.permission.INTERNET" />
</manifest>