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

Can't change Local Repository. Seems hard-coded? #19

Closed
qazip opened this issue Jan 4, 2022 · 4 comments
Closed

Can't change Local Repository. Seems hard-coded? #19

qazip opened this issue Jan 4, 2022 · 4 comments

Comments

@qazip
Copy link

qazip commented Jan 4, 2022

I am using latest version on F-Droid. Android 10.

I am trying to change the Local Repository to a folder of "my own" that I keep synced via Syncthing. However, after clicking "Local Repository Path" in the settings, there is only a pop-up showing me the current Local Repository Path. It is impossible to change it. Is this how it's supposed to be?

@appml
Copy link
Owner

appml commented Jan 4, 2022

I am using latest version on F-Droid. Android 10.

I am trying to change the Local Repository to a folder of "my own" that I keep synced via Syncthing. However, after clicking "Local Repository Path" in the settings, there is only a pop-up showing me the current Local Repository Path. It is impossible to change it. Is this how it's supposed to be?

This is due to the compliance of app specific folder as recommended here for protecting privacy in more recent Android. Therefore, consider setting up a mirror for the Local Repository and point to it from Syncthing since mirror is accessible to 3rd party apps.

Hope this helps.

@DerSaxxe
Copy link

DerSaxxe commented Feb 10, 2022

But there is a problem if you don't set the path at the first start. Then you are not able to set it in settings.
The only way is to remove the right for accessing storage. Then the app starts with the same dialog like the first start.

@appml
Copy link
Owner

appml commented Feb 10, 2022

But there is a problem if you don't set the path at the first start. Then you are not able to set it in settings. The only way is to remove the right for accessing storage. Then the app starts with the same dialog like the first start.

This is due to changing local repository could corrupt note data. Please use the steps below to change its path:

https://appml.github.io/nano/#relocate

Also see Android's policy on file access:

https://developer.android.com/training/data-storage/app-specific

Alternatively, mirror is recommended for newer devices.

https://appml.github.io/nano/#mirror

Thanks.

@appml
Copy link
Owner

appml commented Dec 27, 2022

Android system restrictions.

@appml appml closed this as completed Dec 27, 2022
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