Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MediaPicker.CapturePhotoAsync crashes after taking too long to capture photo #33200

@rrbabbb

Description

@rrbabbb

Description

capturing a photo using MediaPicker.CapturePhotoAsync crashes if a user takes too long to take the picture.
being quick with capturing a photo works as expected

Steps to Reproduce

  1. clone repro project
  2. press the button
  3. wait atleast 5 seconds before confirming/capturing a photo

Link to public reproduction project repository

https://github.com/rrbabbb/MediaPickerCrashesRepro

Version with bug

10.0.20

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 16.0

Did you find any workaround?

if being fast enough with capturing the photo, it wont crash

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions