We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createCameraContext 创建的CameraContext对象,调用takePhoto有较大概率失败,严重影响用户体验
调用takePhoto能成功
try{ this.cameraContext.takePhoto({ quality: 'high', success: res => { const {tempImagePath} = res; this.setState({ imageSrc: tempImagePath }); }, fail: res => alert('拍照失败:'+JSON.stringify(res)) }) }catch(err){ alert('出错:'+JSON.stringify(err)) }
The text was updated successfully, but these errors were encountered:
nickyefei
No branches or pull requests
问题描述
createCameraContext 创建的CameraContext对象,调用takePhoto有较大概率失败,严重影响用户体验
期望
调用takePhoto能成功
复现代码
The text was updated successfully, but these errors were encountered: