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

Feature Request: Change Backup location #196

Open
mitgitumgekippt opened this issue Jan 22, 2025 · 3 comments
Open

Feature Request: Change Backup location #196

mitgitumgekippt opened this issue Jan 22, 2025 · 3 comments

Comments

@mitgitumgekippt
Copy link

Hi,
first: thanks for developing and maintaining the app. I have used it now for some months and I am really happy with it!

But I miss to change the backup location:
I have one backup folder, which is connected to my cloud. Every app (which allows me to do it) back-ups into this specific folder. It was helpful in the past, as the last two phones of mine got irreparably broken.

Hope you have some time to implement this feature. I would do it myself, but I couldn't get my head around flutter so far. Keep up the good work!

@emavgl
Copy link
Owner

emavgl commented Jan 22, 2025

Hi. Thanks for raising the issue. It is indeed a good point.

Unfortunately I think that, without adding additional permission for reading external data, those default folders are the only one I could use for storing the backup.

That's why I don't give the possibility to charge the location. But I will leave the issue open in case someone knows differently and to invest some more time investigating on this.

Out of curiosity, could your app sync multiple folders?

@mitgitumgekippt
Copy link
Author

mitgitumgekippt commented Jan 23, 2025

Now yes, since I started to use syncthing recently. The solution before that was nextcloud , which unfortunately did not support it (to my knowledge).

What would be the issue with the additional permission? I thought Android only ask for it, when you start using it (e.g. it only asks for that when you try to change the saving location)

@emavgl
Copy link
Owner

emavgl commented Jan 23, 2025

Yes,

at the moment I am using this API https://developer.android.com/reference/android/os/Environment#getExternalStoragePublicDirectory(java.lang.String)

which requires no extra permission.

If I want to allow the user to access all the folders, I would need to use. https://developer.android.com/reference/android/os/Environment#getExternalStorageDirectory()

which requires an extra permission in the manifest of the apk. An I am not sure if I need to change something when doing the app submission for Google Play. But I guess it would be also a viable option.

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