Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

[Bug] [Android] Android 14 MediaPicker shows modally over a blank view

Open IainS1986 opened this issue 2 years ago • 1 comments

Description

When using the MediaPicker.PickPhotoAsync() the Android 14 media picker is shown correctly, however the picker appears as a modal bottom sheet view - and because MediaPicker uses an Intermediary activity (I think) this modal gets shown over that activity, which is just blank.

So you end up with you app navigating to a blank activity with a media picker bottom sheet over the top of it.

Expected Behavior

The media picker bottom sheet should go over the Activity calling MediaPicker and not over an Intermediary activity

Actual Behavior

A new blank activity is navigated too first and then the bottom sheet is displayed over that,

Basic Information

  • Version with issue: 1.8.0
  • This may be Android 14 sepcifically.

Screenshots

Masked out possible private information...

Screenshot_20231102-115738

Screenshot_20231102-115745

IainS1986 avatar Nov 02 '23 12:11 IainS1986

Have double checked and Android 13 shows a full screen picker, so I do think its a new issue with Android 14 now showing it as a bottom sheet modal.

IainS1986 avatar Nov 02 '23 12:11 IainS1986