Open ajonno opened 7 years ago
+1
@ajonno Could you solve the issue?
@ajonno @josehernandezv facing same problem using camera Roll in android have you guys resolved this issue?
_pickImage() {
this.setState({ uploadURL: '' })
ImagePicker.launchCamera({}, response => {
if (!response.didCancel && !response.error) {
uploadImage(response.uri)
.then(url => this.setState({ uploadURL: url }))
.catch(error => console.log(error))
}
})
}
I use this code to take a picture from camera and upload, works fine on android.
hi, thanks for putting this example together very helpful.
works fine on ios for taking a photo or choosing one from the gallery. works fine for android when choosing a photo.
however the app crashes without any sort of error log if a picture is taken from the camera on Android.
did you see this issue and resolve it at all ?