Closed sushilparajuli closed 6 years ago
I have update android-> build.gradle to make this working
subprojects { ext { compileSdkVersion=26 buildToolsVersion="26.0.0" minSdkVersion=16 appMinSdkVersion=16 targetSdkVersion=23 // this one have to downgrade supportLibVersion="26.1.0" fastjsonLibVersion="1.1.46.android" } }
Following is code, I have implemente in the code as per nat-explorer example `Nat.camera.captureVideo({}, (err, ret) => { if (err) { Nat.toast('[ERROR] ' + JSON.stringify(err)) return }
I tried clearing cache too much getting Camera Busy issue at all time
Environment: -weex v1.2.9
Nat Js updated version as follow
{ "type": "maven", "groupId": "com.instapp.nat", "name": "weex-plugin-camera", "version": "1.0.2", "dependency": "com.instapp.nat:weex-plugin-camera:1.0.2" }