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

No permissions to enable on android #1156

Open
zachgeller opened this issue Feb 8, 2024 · 3 comments
Open

No permissions to enable on android #1156

zachgeller opened this issue Feb 8, 2024 · 3 comments

Comments

@zachgeller
Copy link

Unable to select any files for conversion. No option to allow permissions other than camera. In settings there are no permissions available to select except camera, which doesn't help.

Steps to reproduce

Download app. Select allow permissions in pop-up. Select pdf convert, or convert pdf to image. Select image from file: "no permission to access this file"

Expected behaviour

Should be able to access my files

Actual behaviour

No ability to access my files, no option to allow correct permissions. Outdated support? Not up to date with latest Android versions?

Would you like to work on the issue?

Yes

@poisonpen
Copy link

I'm planning on working on this ! will open a pull request at some point

@sls1005
Copy link

sls1005 commented Apr 20, 2024

I encountered this bug recently (when trying to convert a PDF into image), but it then worked, and I can no longer reproduce this bug. When I was encountering the bug, I could still use the View Files option at the buttom of the screen to pick files by names and do the conversion.

As for the permission issue, this app does require the permissions to read and write the external storage. However, according to https://developer.android.com/training/data-storage, these permissions have lost their effects on recent versions of Android; a new permission named MANAGE_EXTERNAL_STORAGE is introduced instead, but it isn't something a normal app should have. If the app uses the Storage Access Framework to access files (which this app does, but possibly not in a right way), it doesn't need to declare any permission explicitly, and there is no permission to grant it in the Settings app; when you pick a file, you grant the permission implicitly. See my project for reference.

As for MANAGE_EXTERNAL_STORAGE, requesting it might solve the problem, but can also be something totally wrong.

@poisonpen
Copy link

poisonpen commented Apr 22, 2024 via email

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

3 participants