Closed zhuxx2021 closed 6 years ago
"react": "16.4.1", "react-native": "0.56.0", "react-native-camera": "^1.1.4", "react-native-keyboard-aware-scroll-view": "^0.6.0", "react-native-qr-scanner": "^1.2.4", "react-native-qrcode": "^0.2.6", "react-navigation": "^2.7.0", "react-redux": "^5.0.7", "redux": "^4.0.0"
<QRCode value={“QRCodeQRCodeQRCodeQRCodeQRCode”} size={128} bgColor='#000' fgColor='#fff'/>
in "lib/Canvas.js" <WebView ... originWhitelist={['*']} ... />
add => originWhitelist={['*']} , it works!
thanks https://github.com/facebook/react-native/issues/19986
<QRCode value={“QRCodeQRCodeQRCodeQRCodeQRCode”} size={128} bgColor='#000' fgColor='#fff'/>