it would be nice if the Android 11 and thus Syncthing-restrictions could have a separate FAQ-section. something like:
the following directories can’t be selected via the native Android Directory-Picker (SAF), but can be selected via Web-GUI (please ensure to enable “Advanced” -> “Ignore Permissions”):
- external sd-cards? (don’t know how to test this)
the following directories and subdirectories can’t be accessed because of android 11 restrictions:
read more: – insert link here which I had to remove: file-directory-restrictions–
also I noticed you chose to use the /storage/emulated/0/Android/media directory so that other apps can access configs. when I did some research I found the following information:
getExternalMediaDirs() is getting deprecated, but what bothers me is the wording “These directories still exist and are scanned” - does “still” mean in this case that android will get rid of these directories in the upcoming releases? I did not dig into MediaStore by now but by overlooking I couldn’t find an easy get-function to access /storage/emulated/0/Android/media/
Note: The /sdcard/Android/media directory is part of shared storage. - again the media-directory is mentioned in a special note and not in an ordinary bulletin and if you read the articles regarding shared storage – link removed – and the links in it, I couldn’t find the …/media/ directory mentioned there or did I just miss it?
- the training content for Media uses new File(context.getExternalFilesDir(Environment.DIRECTORY_PICTURES), albumName) – link removed – instead of the …/Android/media/ directory - another hint, that this directory might not have a future?
- am I just overinterpreting things?
so is the …/Android/media/ directory future-proof or would it be best to look for another place to save the configs?
p.s. syncthing is a great piece of software and I really appreciate your work
p.p.s. I had more links in my post but I had to remove them because I’m a new user