etesync / android

EteSync - Secure, end-to-end encrypted, and privacy respecting sync for your contacts, calendars and tasks.
https://www.etesync.com
GNU General Public License v3.0
296 stars 33 forks source link

No permission to import from file #249

Closed Terrance closed 5 months ago

Terrance commented 8 months ago

Import > From File fails with the following message:

Import Failed

Reason: Reading storage permission is required for import.

However, the app never asks for the storage permission to be granted, nor do I seem to be able to grant it in Android's app settings.

Device is a OnePlus Nord CE, Android 13, EteSync 2.4.3.

jahway603 commented 7 months ago

I was just about to file this as an Issue as I'm experiencing the same. This should not be happening, as the correct Android permission is specified in the code here, https://github.com/etesync/android/blob/master/app/src/main/AndroidManifest.xml#L40.

jahway603 commented 7 months ago

I hate medium, because they never let you read anything, but it appears that the Android Permission being used, android.permission.READ_EXTERNAL_STORAGE, has been replaced in Android 13+ https://medium.com/@maydin/how-to-migrate-read-external-storage-permission-to-read-media-images-permission-for-android-13-ab99de39318

jahway603 commented 7 months ago

This Issue is related to Issue https://github.com/etesync/android/issues/199

jahway603 commented 6 months ago

Found more info here from Google, https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions

Terrance commented 5 months ago

Looks like this is now fixed as of #254 and 2.4.4.

tasn commented 5 months ago

Thanks for closing the ticket, I missed that!