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

Nov 2017
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;{ metadata: options })
.then((data) => console.log(data))
.catch(err => console.error(err));
expected to put location metadata
but crash everytime i capture