These are chat archives for lwansbrough/react-native-camera

19th
Mar 2016
Jack Huang
@jhack32
Mar 19 2016 15:51
hey, I'm having issues using the metadata location
supported options
I'm not exactly sure where it goes, i've tried putting it this.camera.capture({metadata="location"})
Jack Huang
@jhack32
Mar 19 2016 16:04
@lwansbrough
Loch Wansbrough
@lwansbrough
Mar 19 2016 16:06
That's correct. Or as properties in JSX in most cases. What are you having trouble with?
Jack Huang
@jhack32
Mar 19 2016 16:07
Trying to get geolocation on a captured image
the longitude and latitude specifically, so i can store it into a database
along with the picture
Loch Wansbrough
@lwansbrough
Mar 19 2016 16:15
The docs say that's supported but I can't verify that based on the code.
Jack Huang
@jhack32
Mar 19 2016 16:18
would it be better if I provide the entire component?
Loch Wansbrough
@lwansbrough
Mar 19 2016 16:20
Not probably. What I mean to say is that there is probably a lack of functionality to support this in the camera module itself unfortunately. Though it would be fairly easy to add
Jack Huang
@jhack32
Mar 19 2016 16:21
Ah okay
Thanks
Loch Wansbrough
@lwansbrough
Mar 19 2016 16:26
Sorry I don't have a better answer right now
Jack Huang
@jhack32
Mar 19 2016 16:27
It's okay, I think i may have solved it actually, using react-native's Geolocation API
(I hope)