cssivision / react-native-qrcode

a minimalist qrcode component for react-native
MIT License
853 stars 304 forks source link

WebView has been removed from React Native. It can now be installed and imported from 'react-native-webview' instead of 'react-native' #95

Open webMagicX opened 4 years ago

webMagicX commented 4 years ago

react-native 0.62.2

WebView has been removed from React Native. It can now be installed and imported from 'react-native-webview' instead of 'react-native'

EnhancesysSimeryn commented 4 years ago

Can anyone please help out with this issue?

xunaizhong20 commented 3 years ago

node_modules/react-native-qrcode/Canvas.js

xunaizhong20 commented 3 years ago

var { View, WebView, Platform } = require('react-native'); --------> var { View, Platform } = require('react-native');

var WebView = require('react-native-webview');