MediaPicker.CapturePhotoAsync crash on the Kyocera C6930
See original GitHub issueDescription
Normally upon calling MediaPicker.CapturePhotoAsync the camera pops up and allows the user to take a photo. However, on a Kyocera C6930 with the default camera settings the app crashes about 7/10 times right after taking a picture. There usually seems to be a pause or stutter when the crash happens. The linked solution works on all tested devices except for the Kyocera C6930.
A strange behavior worth noting is that the frequency of crashing goes down if I set the resolution to be the lowest amount and the “Auto HDR”/“Auto Night Detection” settings to off. I don’t know if there is a different method I could use to try taking photos which might get us around this issue.
I am including a very simple app which just takes a picture and displays it. It should work fine on most things, but crashes almost every time a picture is taken on a Kyocera C6930. The device log was too long to submit. I can include certain lines if you tell me what to look for.
Steps to Reproduce
- Use a Kyocera C6930
- Create a new .NET MAUI App (or use included reproduction app)
- Make sure the camera settings are the default settings
- Call MediaPicker.CapturePhotoAsync(new MediaPickerOptions { Title = “Take the shot” }) // passing in null behaves the same here
Link to public reproduction project repository
https://github.com/scottteague/photo1
Version with bug
6.0.400
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
6.0.486/6.0.400 (All the way back to Xamarin)
Did you find any workaround?
Not a complete workaround: When the photo resolution is set to medium and the “Auto HDR”/“Auto Night Detection” settings are turned off it crashes slightly less often.
I’d love to try a different workaround if you know of one.
Relevant log output
*The device log is far too long to include here, I have put it into the example repository
Issue Analytics
- State:
- Created a year ago
- Comments:6

Top Related StackOverflow Question
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.
I have made a commit which has the device logs since they are so large that they could not be added to the issue via the web page.