react-native-signature-canvas
react-native-signature-canvas copied to clipboard
Tried to register two views with the same name RNCWebView
导入这个组件在会报这个错误 rn版本0.61.5
这似乎是因为你的版本和我的版本不一致导致的
"react-native-webview": "^7.5.2",这个包的版本应该要一致
你可以移除你的版本,让用户自己安装这个依赖吗 @YanYuanFE
可能会有问题的,不同的react-native-webview版本有的api变更很大,而且这个跟expo的版本也有关联的,必须要经过测试的版本才能用
我每隔一段时间会检查react-native-webview的版本更新并升级以保持最新的版本。
你的版本是多少?我这边试下
我装了最新版8.1.0 @YanYuanFE
我这边试下这个版本,没问题可以发布一个新版,最近在模拟器安装expo 的客户端因为网络问题总是装不上。
我在家办公也是网络不好
v1.8.0 has publish.
这么快就好了,我试试
用真机调试的,模拟器客户端一直下载不了。😓
可以了
Make sure the version of react-native-webview that you use in your app is the same version that this library uses. You most likely just need to update version of react-native-webview in your app. To check which version of react-native-webview your packages use, use the npm ls command.
After updating your packages for safe measures delete your node_modules folder and package-lock.json and do an npm i.