react-native-exif
react-native-exif copied to clipboard
Cant read geolocation of image
Hey there!
Whatever i do when i try to get the location out of an Image then somehow there is no location data in my response. I have double checked if the image has a geolocation metadata with www.get-metadata.com just to be sure there is any metadata.
Any ideas why this happens?
Exif.getLatLong(absoluteImagePath)
.then(({latitude, longitude}) => {console.warn('OK: ' + latitude + ', ' + longitude)})
.catch(msg => console.warn('ERROR: ' + msg))
Error "TypeError: Cannot read property 'latitude' of undefined"
ENV: react-native 0.53.0 react-native-exif 0.3.0 iOS / Simulator & real device
+1
+1
Any word on this?
+1
🚶
same here
Same here. I think this project is dead. Try https://github.com/MikeKovarik/exifr
+1
Same here. I think this project is dead. Try https://github.com/MikeKovarik/exifr
But it doesnt work with react native. I cant setup it in react native.
Any updates on this?
@ianharoldonwater try this lib: https://github.com/mattiasw/ExifReader#using-react-native
+1
in this package it works: https://github.com/ivpusic/react-native-image-crop-picker We might try to see how we can implement it here as well.