Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied (Android 13) #2

Open
alexbayker opened this issue May 22, 2023 · 10 comments
Open

Permission denied (Android 13) #2

alexbayker opened this issue May 22, 2023 · 10 comments

Comments

@alexbayker
Copy link

How can I use new Android filesystem permission, android.permission.MANAGE_EXTERNAL_STORAGE , with this library? I always get an error "Permission to access filesystem denied", when i try to run FilePickerActivity

@Jolanrensen
Copy link

same on android 14

@alexbayker
Copy link
Author

alexbayker commented Nov 7, 2023

Fixed this bug in my own fork (not published yet)

@Jolanrensen
Copy link

Jolanrensen commented Nov 7, 2023

@alexbayker But how? We gained new permissions: READ_MEDIA_IMAGES, READ_MEDIA_AUDIO etc. But the only way to be able to see any type of file is by making the app get MANAGE_EXTERNAL_STORAGE permission, like you said. However, this is heavily restricted by Google on the play store.

@Jolanrensen
Copy link

Same in my fork btw (is published now): https://github.com/Jolanrensen/NoNonsense-FilePicker/releases/tag/6.0.1
But still, I hope there's another way to at least be able to select all files. I don't need to manage them, just read them

@alexbayker
Copy link
Author

alexbayker commented Nov 7, 2023

Published my solution here: https://github.com/alexbayker/NoNonsense-FilePicker

@Jolanrensen
Copy link

Published my solution here: https://github.com/alexbayker/NoNonsense-FilePicker

Cool! Yours looks pretty similar to mine. I do wonder what will happen if I publish my non-file manager app with this new permission however :/ I think that Google (being Google) won't like it.

@Jolanrensen
Copy link

image
yup here we go

@alexbayker
Copy link
Author

With my library or with yours? Or with both of them?

@alexbayker
Copy link
Author

alexbayker commented Nov 15, 2023

It's strange that the RootExplorer application has MANAGE_EXTERNAL_STORAGE and ACCESS_SUPERUSER permissions to access the storage and application was published in PlayStore

@Jolanrensen
Copy link

Jolanrensen commented Nov 15, 2023

With my library or with yours? Or with both of them?

Doesn't matter. We need MANAGE_EXTERNAL_STORAGE, and that's not allowed if the app is not a file explorer itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants