Open SailReal opened 2 years ago
I can not reproduce on Pixel 4a with CalyxOS (Android 12). Perhaps this is a Graphene specific issue?
I can reproduce it on a pixel 7a with the Whatsapp Media folder. Deleting the folder does not help, as whatsapp recreates it after restart. Fast workaround would be to respect .nomedia file.
Logfile ist here: https://github.com/cryptomator/android/issues/177#issuecomment-1612684136
Please agree to the following
Summary
Auto upload fails due to permission problem while reading the file during upload
System Setup
Cloud Type
No response
Steps to Reproduce
Expected Behavior
Pictures gets uploaded
Actual Behavior
Upload fails due to permission exception while accessing the picture.
Reproducibility
Always
Relevant Log Output
Anything else?
I can not reproduce this on a Pixel 6 and Pixel 4 using GrapheneOS too.
According to https://developer.android.com/training/data-storage/shared/media when accessing the
MediaStore
and withScoped storage
enabled,See https://github.com/cryptomator/android/blob/55d7f68f4973274b5ff272d43f9fa6847afd264d/presentation/src/main/AndroidManifest.xml#L9
and https://github.com/cryptomator/android/blob/55d7f68f4973274b5ff272d43f9fa6847afd264d/presentation/src/main/java/org/cryptomator/presentation/service/PhotoContentJob.kt#L149-L153
So I have currently no idea what the problem is here :thinking: