I've tried testing it on my Android 10 device and it won't let me install the app.
On a mobile with Android 4.4 the file path directions fail. (In development mode it works for me with the path: file: ///sdcard/AppInventor/assets/deviceVersion.html), in normal mode, I have not been able to find the path of the html file.
I was afraid of that on Android 10. Before packaging the app, use the production path should work.
file:///android_asset/deviceVersion.html . This fails on Android 4.4? and 10? You may still able to get this to work in the compiled app by requesting READ_EXTERNAL_STORAGE Sorry Isaac. I do not have an Android 10 to test. The example builds fine on an Android 8.1; did you change development to false before you attempted to build?
There must be a way to get an Android 10 to read files in the Media.
Note that the version number of the current platform can be retrieved by using the PlatformVersion property of the Screen component. This will return the user-facing version number as a string, such as "10.0" or "8.1". This property is available on both Android and iOS.
But after doing several tests, I see that I can have problems with the previous versions of android 10 if I want to save the files in the root folder of the application.
I cannot save the files in the root directory with the extension "call AplicationSpecificDirectory" from Taifun on a device with Android 4.4.2
I was hoping that these blocks that I attach you save in the file at: /storage/sdcard0/Android/data/appinventor.ai.bulone6868.test/files/a.txt
But it saves it in:
/storage/sdcard0/storage/emulated/0/Android/data/appinventor.ai.bulone6868.test/files/a.txt
So I think the simplest thing in my case (for now) will be to save the files in the root folder for Devices smaller than Android 10 and in the application folder for those older than Android 10. (In both cases I have created another folder to have the files sorted)