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
21.96k stars 1.71k forks source link

[Android] MediaPicker in Android 14 #21071

Open NXDMN opened 6 months ago

NXDMN commented 6 months ago

Description

This may not really a bug but a feature. In Android 14, there's a new partial access when selecting photo and videos (like iOS). However, it seems like current MediaPicker have not implement the feature because when I add the new permission READ_MEDIA_VISUAL_USER_SELECTED it still the same. According to https://developer.android.com/about/versions/14/changes/partial-photo-video-access#device-upgrade, the app will have full access to photos and videos. So may i know when the feature will be implement?

Also in Android 14, now if user wants to pick photos or videos, it will open the picker as bottom sheet instead of navigate to new page: Screenshot_1709792690

But now the UI will looks so weird as it will navigate to new empty page and open bottom sheet there, i can see other apps can open the bottom sheet at the current page, so may i know is there any other way to change the behavior or need to wait for implementation?

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 34

Did you find any workaround?

No response

Relevant log output

No response

jonpryor commented 2 months ago

@moljac

b12kab commented 1 month ago

@PureWeen Question: How soon will this be brought up from the backlog? API 34 required is coming up at the end of August.