Closed weenta closed 6 years ago
@Acathur, I got the same issue with the latest weex environment. Also implement error condition too like below but the app is crashing :
Nat.camera.captureImage({}, (err, ret) => {
if(err){
modal.toast({message: JSON.stringify(err), duration: 0.5});
}
this.imageData = ret.path
})
Maybe the permission mechanism of Android 8.0 has changed?
got it; change the targetSdkVersion=26
-->targetSdkVersion=23
; then it works fine;
but still dont know why this happen
using module
nat-camera
, it works fine in android 6.0; but in android8.0; it has error like this:any idea why this happen?