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

17th
Nov 2017
koswarabilly
@koswarabilly
Nov 17 2017 03:49
hello guys
i need to set location as metadata after i capture an image here is my code snippet
takePicture() {
const options = {};
options.location = this.state.location;
this.camera.capture({ metadata: options })
.then((data) => console.log(data))
.catch(err => console.error(err));
}
expected to put location metadata
but crash everytime i capture