You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2024. It is now read-only.
Description
CapturePhotoAsync shows video capture on UWP
Steps to Reproduce
await MediaPicker.CapturePhotoAsync();in your code, this show up video capture instead of photo capture on UWPExpected Behavior
Should show photo capture screen
Actual Behavior
Should show video capture screen
Basic Information
Correction
Please correct the line 44 of the file Essentials/Xamarin.Essentials/MediaPicker/MediaPicker.uwp.cs:
https://github.com/xamarin/Essentials/blob/afb692d710a4240f109d032dd4ebc8c9b329802d/Xamarin.Essentials/MediaPicker/MediaPicker.uwp.cs#L44
This should be:
=> CaptureAsync(options, true);and not=> CaptureAsync(options, false);