Comment on immich help
homelabista@mastodon.social 1 day ago
@illusionist Went digging in their repo instead of guessing.
Immich's AndroidManifest caps READ_EXTERNAL_STORAGE at maxSdkVersion=32. Android's own MANAGE_MEDIA docs list that permission as one you have to declare for the no-prompt path, and on 13+ it's never granted.
Their string for the permission also says it's for "moving assets to the trash and restoring them". Trash, not delete. Between those two, I'd stop expecting that toggle to do anything.
illusionist@lemmy.zip 1 day ago
Wow, thank you! Although I’m not sure about the conclusion. I guess the devs are fully aware of the situation since they also use immich themselves. Maybe they always upload their images immediately so that they don’t focus on the situation in which the media is unsynced.
@illusionist Maybe it's not that they don't notice. Android's own doc says an app on 11+ that isn't the default gallery has to show that dialog every single time, and the one way out asks for MANAGE_MEDIA and READ_EXTERNAL_STORAGE together. From 13 onward you request READ_MEDIA_IMAGES/VIDEO instead of READ_EXTERNAL_STORAGE, and Immich's manifest caps that one at maxSdkVersion 32. On GrapheneOS the pair can't exist. Nothing the devs can do.
illusionist@lemmy.zip 15 hours ago
Thank you for the explanation! Highly appreciate it!