dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.06k stars 1.73k forks source link

Add more Media* permissions for Android #12857

Open mattleibow opened 1 year ago

mattleibow commented 1 year ago

Description

As of Android 13, the READ_EXTERNAL_STORAGE permission is no more and split into:

Type of media Permission to request
Images and photos READ_MEDIA_IMAGES
Videos READ_MEDIA_VIDEO
Audio files READ_MEDIA_AUDIO

https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions

Public API Changes

Not sure as of yet, but maybe 3 new permissions?

This will also have to be consolidated with the iOS permission of Media...

Intended Use-Case

More granular permissions. Especially since if this lands, then we have added all the media ones into READ_EXTERNAL_STORAGE: https://github.com/dotnet/maui/pull/12854

ghost commented 1 year ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.