when using React native to do a project, I encountered the problem of scanning the QR code.
use ac-qrcode
as follows:
the dependencies of the project are as follows:
"dependencies": {
"ac-qrcode": "^1.0.0",
"react": "16.3.1",
"react-native": "0.55.4",
"react-native-simple-toast": "0.0.8",
"react-navigation": "^2.5.5"
},
"devDependencies": {
"babel-jest": "23.2.0",
"babel-preset-react-native": "4.0.0",
"jest": "23.2.0",
"react-test-renderer": "16.3.1"
},
"jest": {
"preset": "react-native"
}
if there is a great god who knows something about this problem, please ask for advice.
beg on your knees. Thank you.