-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[iOS] Media Picker UIImagePickerController closing issue #21996
Copy link
Copy link
Closed
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infolegacy-area-controlsLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, EditorLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editorplatform/ioss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infolegacy-area-controlsLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, EditorLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editorplatform/ioss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
If we use await MediaPicker.Default.PickPhotoAsync() and then try to open alert - await DisplayAlert(result?.FileName, "message", "ok") -alert won't be displayed.
I believe that this is an issue with setting the result of image picking before closing UIImagePickerController.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/amahera/media-picker-repoduction-issue
Version with bug
8.0.20 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
add some delay before DisplayAlert
Relevant log output
No response