Android 13 and higher and share files problems

panagiotis merakos merakosp at gmail.com
Wed Apr 17 04:18:00 EDT 2024


Hello Ludovic,

Which file explorer app do you use? As of Android 13, apps that need to
access media files that other apps have created, must request one or more
of the following granular media permissions instead of the
READ_EXTERNAL_STORAGE permission:

READ_MEDIA_IMAGES
READ_MEDIA_VIDEO
READ_MEDIA_AUDIO

So I assume the file explorer app you use might still use the (deprecated)
READ_EXTERNAL_STORAGE permission. But this is just a guess.

RE the other issue with gmail - I suggest you file a bug report and attach
a sample stack and we will investigate.

Kind regards,
Panos
--

On Wed, 17 Apr 2024 at 10:45, Ludovic THEBAULT via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hello,
>
> I have an Android application that stores files in the "Documents" folder.
> The path to the files is something like : « /data/user/0/com.xxx.files/ ».
>
> With phones running Android 13 or higher, the application folder "com.xxx"
> is no longer visible in the file explorer, whereas on an Android 11 devices
> or under we can see it and access to the files.
>
> What should I do? Thank you.
>
> PS : on android 13 and higher I’ve also this bug : If I want to send the
> file by email, using the Gmail application, even if the attachment is
> present in the body of the email, the sending fails due to an error "Unable
> to attach the file". With another email application, it works. I guess this
> problem is related to the first !
>
> Ludovic
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list