Menu

Oddity with android.permission.INTERNET in 4.6 and onwards (tested)

Tom M
2022-12-13
2022-12-13
  • Tom M

    Tom M - 2022-12-13

    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

     
  • Ramiro  Prieto Alvarez

    In Screen1 properties you can manipulate the internet permission.

     
  • Tom M

    Tom M - 2022-12-13

    D'oh!
    Thank you Ramiro!
    Tom

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.