Hi all, hi XLabs user,
I am using the well known code for taking a photo based on the XLabs library:
private async Task<MediaFile> TakePicture()
{
this.ImageSource = null;
return await mediaPicker.TakePhotoAsync(new CameraMediaStorageOptions
{
DefaultCamera = CameraDevice.Rear,
MaxPixelDimension = 4000
}).ContinueWith(t =>
{
if (t.IsFaulted)
{
Status = t.Exception.InnerException.ToString();
}
else if (t.IsCanceled)
{
Status = "Canceled";
}
else
{
var mediaFile = t.Result;
ImageSource = ImageSource.FromStream(() => mediaFile.Source);
return mediaFile;
}
return null;
}, this.scheduler);
}
The problem is that the GPS meta data in the "mediaFile" Exif data is always empty. (see screenshot). I am using the XLabs.Forms version 2.0.5679 and the included ExifLib.PCL version 1.0.1.
In some other forum threads I have read of a bug in the area !? Is it solved ? Anyone who gets valid GPS data ?
Thanx for your help.
Marco