git-qrcode-recognition
v0.0.2
Published
git-qrcode-recognition
Downloads
1
Readme
git-qrcode-recognition
介绍
二维码扫描
添加
npm i git-qrcode-recognition —save
npm link git-qrcode-recognition
示例
import QrCode from 'git-qrcode-recognition';
QrCode.decodeFromImageFile(response.uri).then((res)=>{
this.setState({scanResult:res})
}).catch((e)=>{
console.warn(e.message)
})