Hi!
I am creating an app where I need to download a file with some data. The download works fine when I test it using AI Companion, but when I download the APK of the app the download of this file doesn't work anymore.
Why does this happen?
Thanks in advance!!!
What DefaultFileScope did you set in the Designer?
Which Android version are you testing on?
It should work on all Android versions ≥ 4.4 (API level 19, KitKat) without storage permissions.
See also here:
In this example I save a text file in the Shared folder /Download with the EFile extension and the File component. This works without storage permissions on Android 11+ using the EFile extension (but not with the File component).
This is expressed in a misleading way, I suppose. I think you mean the following:
I'm building an app that stores text/data in a text file. This works with Companion but not with the compiled app (APK). So make it more precise and change the topic accordingly.