Hello, I’ve been trying to get the GPS location of an image taken from the method takePictureAsync() from expo.camera. By using the argument EXIF, I was able to get some metadata, but not the one I was looking for. I’m trying to get the latitude and longitude, and the GPSdestbearing. Is there any other ways?
async function takePhotoAndStore(){
if(cameraRef){
let photo = await cameraRef.current.takePictureAsync(exif:true);
const asset = await MediaLibrary.createAssetAsync(photo.uri);
const exifInfo = await MediaLibrary.getAssetInfoAsync(asset);
console.log(exifInfo);
}
}