Hi,
tl;dr I'd like to determine the max camera resolution in a Xamarin Forms app.
I have implemented the Xam.Plugin.Media Nuget (by James Montemagno) for taking pictures in our app. It (the Nuget package) has a feature where you can determine roughly what resolution the resulting picture should be (Custom, Full, Large, Medium, Small):
mediaFile = await CrossMedia.Current.PickPhotoAsync(new PickMediaOptions { PhotoSize = Plugin.Media.Abstractions.PhotoSize.Large });
What we would like to do, is determine what the max resolution of the camera on this device is and then pick an appropriate PhotoSize. Older devices tend to take smaller photo resolutions so that a PhotoSize.Large is fine. And for newer devices, we may want a PhotoSize of Medium or Small. Those decisions would be based on what resolutions are available on the camera. Which bring me back to the question.
Thanks for looking at this.