dimonovdd / Xamarin.MediaGallery

This plugin is designed to picking and save images and video files from native gallery of Android and iOS devices and capture photos
MIT License
148 stars 18 forks source link

Issue with SaveAsync permissions on Android 13+ #125

Closed lobbo232 closed 6 months ago

lobbo232 commented 6 months ago

Description

When requesting the SaveMediaPermission on Android 13+ (project targeting Android 13 and device running android 13), I am unable to get a response. My understanding is that the WRITE_EXTERNAL_STORAGE permission check shouldn't be needed on Android 13 and should be skipped, however doing that means the SaveAsync method fails for not having the permission supplied.

Actual Behavior

SaveMediaPermission never gets granted, dialogue doesn't show. SaveAsync errors for denied permission.

Expected behavior

On Android 13 the SaveAsync process should proceed without the SaveMediaPermission (WRITE_EXTERNAL_STORAGE)

Steps to reproduce the behavior

Screenshots or Videos

Reproduction Link

Configuration

lobbo232 commented 6 months ago

apologies... I was just reading the release notes and realised this has already been addressed. I've updated and it works.