Closed bizyyosh closed 1 year ago
Try use MetadataExtractor. It works correctly for me.
I used MetadataExtractor as well as exiflibrary and neither can read any GPS data on the image returned by CapturePhotoAsync. I'm using Xamarin.MediaGallery 2.2.1
For Android I added await Permissions.RequestAsync<Permissions.LocationWhenInUse>();
(Xamarin.Essentials) before calling CapturePhotoAsync and that fixed it for Android but iOS still doesn't return an image with GPS data.
Description
Images taken using the CapturePhotoAsync method do not contain GPS information.
The info.plist describes the permissions for using the camera and location information.
I am not familiar with development on iOS. I don't know if the plugin is the cause. Any advice would be appreciated.
Expected behavior
Latitude and longitude of the shooting location are included in the meta data.
Steps to reproduce the behavior
Screenshots or Videos
Configuration