GlitterWare / Passy

Offline password manager with cross-platform synchronization
https://glitterware.github.io/Passy/
GNU General Public License v3.0
137 stars 21 forks source link

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

Open Ayman21999 opened 4 months ago

Ayman21999 commented 4 months ago

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

GleammerRay commented 4 months ago

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.