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

[Bug]: Inability to export files because it can't get permission #105

Open
2 tasks done
Ayman21999 opened this issue May 16, 2024 · 1 comment
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@Ayman21999
Copy link

Bug description

Actual Result
It asked me to access Download Files then it went back to the screen and showed me the fail message "Fail to access file, try another Folder "

Screenshot
https://github.com/GlitterWare/Passy/assets/40778363/40e4e272-ce86-4046-b6d6-1acf092d7960

Environemt
Andriod 10
Divce Samsung M20

Expected outcome

The success of exporting and showing a successful message

Steps to reproduce

1- open app
2- login
3- Open Settings
4- Choose Export & Import
5- Export
6- Click on CSV export
7- open Download files
8- press on Allow to access Download Folder

Error log

No response

App version

v1.8.0 - Entry Tags

Submission checklist

  • I have specified the problem in the issue title
  • I have provided a verbose description of the problem
@Ayman21999 Ayman21999 added the bug Something isn't working label May 16, 2024
@GleammerRay
Copy link
Collaborator

GleammerRay commented May 16, 2024

Hello @Ayman21999 !

This is a well known issue. Android filesystem restrictions do not allow picking the downloads folder for control, but flutter file picker is not aware of these restrictions yet.

I will look into resolving this for the next update (it might be possible to talk to Android's download manager), but I can't promise that I'll be able to find the solution for it in time.

Until then, you may create a new folder under your Documents folder (or anywhere else) for saving your backups or exports.

Thank you for your report!

Edit 1:
For exports specifically, you can expect this to be resolved for the next update as I'm going to use file saving instead of folder picker, which is allowed by Android. However, any other functionality that requires folder picking will most probably still be affected.

@GleammerRay GleammerRay pinned this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants