Any idea how to get "all files access" for Android 13?

I’d like my app to be able to search the file system on my Android starting at “/”.
(I’m on Android 13)

Googling android development, I see I might have to “manage action” and set ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION
somehow. somewhere.

Any suggestions from experience?

I tried randomly setting variations of

android = { usesPermissions = { “android.permission.XX” …}}

in build.settings, but, all variations still have "rslt, errs, dirobj = pcall (lfs.dir, “/”) failing for:

cannot open /: Permission denied

thanks!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.