I have simple app that works well, but now need to make web request to fetch results of other operations. In AI2Offline 3.9 it works just fine, but Google update API version and forced me to update AI2Offline to 4.6+.
Oddity is that when using Companion, the app works, but when I build .apk or .aab, the INTERNET permission is not there and (no surprise) app fails to fetch any URL.
I tried to create minimalistic app that has web view and loads static website on screen init - again, works under Companion, doesn't work as apk/aab.
I'm slowly losing my mind. Tried adding also other components that need Internet access (like map), but behaviour is consistent. Any suggestions, please?
I am slowly walking regression path to older versions of AI2Offline, hoping to find one that will work and support current minimum API level.
Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I have simple app that works well, but now need to make web request to fetch results of other operations. In AI2Offline 3.9 it works just fine, but Google update API version and forced me to update AI2Offline to 4.6+.
Oddity is that when using Companion, the app works, but when I build .apk or .aab, the INTERNET permission is not there and (no surprise) app fails to fetch any URL.
I tried to create minimalistic app that has web view and loads static website on screen init - again, works under Companion, doesn't work as apk/aab.
I'm slowly losing my mind. Tried adding also other components that need Internet access (like map), but behaviour is consistent. Any suggestions, please?
I am slowly walking regression path to older versions of AI2Offline, hoping to find one that will work and support current minimum API level.
Tom
In Screen1 properties you can manipulate the internet permission.
D'oh!
Thank you Ramiro!
Tom