Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

XLabs Camera Service - SelectPicture Cancel crashes on iOS

$
0
0

Hi Guys, I reviewed the list of issues but didn't find one that related to this.

On the picture selection method (SelectPicture) when The following code runs:
selectTask = _mediaPicker.SelectPhotoAsync(new CameraMediaStorageOptions
{
DefaultCamera = CameraDevice.Front,
MaxPixelDimension = 400
});
await selectTask;
An exception is raised when in the picture selection screen I hit cancel (without selecting any picture) on iOS. The exception thrown is:
System.NullReferenceException: Object reference not set to an instance of an object

Is there any workaround to this?
When is a fix expected assuming you are already aware or able to rep the same issue in your labs?

I have yet to test this on android or windows phone. I will feedback once I do.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>