How do you get the location information from photos you take in a React Native app?

I have an issue where I need a camera library to pull some location data:
So presently there's two distinct differences between the iOS camera and other cameras like React-Native-Camera, and React-Native-Image-Picker.

First I need location data on the photo, as shown in iOS version. Secondly I need it to be in HEIC format. Is there a way to use the iOS camera to take photos other than switching outside of React Native?

photos from iOS camera:
https://imgur.com/a/VX1cguZ

photos from React Native camera packages:

https://imgur.com/a/mwqDiBu

​

location data doesn't populate for photos saved in react native packages, anyway to actually get the data on the photo?

Posted Feb 11, 2020, 10:12 PM UTC

13
Loading comments…