Hi everyone i am trying to use taifun file extension @Taifun in android 14 it is not work, but it is work in android 10 and 7.0
I am using this block
I don't know is it because Ai2 need to upgrade target sdk or it is from taifun file extension.
Anyone can help me?
And when Ai2 upgrade target sdk?
you mean i need to add READ_EXTERNAL_STORAGE permission or add READ_MEDIA_VIDEO?
I add READ_EXTERNAL_STORAGE but it is still not work, but READ_MEDIA_VIDEO I don't test it.
As @Taifun said, you must request READ_MEDIA_VIDEO permission on Android 13+.
But this permission is not declared in the Manifest automatically, even not if you add the File component (and enable READ permission).
On Android 13+ you must request READ_MEDIA_... and on Android < 13 you must request READ_EXTERNAL_STORAGE.
In order to be able to request the respective permissions, they must be declared in the Manifest.
By the way, it is not possible to list any directory for which READ permissions are required with the File component. You get an error message. I'll post that later in a separate topic ...
In addition, READ_MEDIA_... permissions are declared only when the blocks intended for this purpose are used. In other words, if READ_MEDIA_IMAGES is requested as a string, this permission is NOT declared in the manifest. None of this makes any sense at all. @ewpatton