react-native-webview-comlink

时间:2021-03-18 19:53:37
【文件属性】:
文件名称:react-native-webview-comlink
文件大小:325KB
文件格式:ZIP
更新时间:2021-03-18 19:53:37
TypeScript react-native-webview-comlink react-native-webview-comlink的目标是将与React Native WebView组件集成在一起,允许Web浏览器中的js调用本地API。 安装 安装软件包和Comlink : npm i --save react-native-webview-comlink comlinkjs 弹出expo项目:如果React Native项目是通过expo-cli创建的,则需要通过npm run eject 对于Android:由于comlink需要ES6功能才能正常工作,因此建议对Android构建使用最新JavaScriptCore,请查看以获取有关如何将jsc集成到React Native项目的更多详细信息。 用法 本国的 import { WebView } from 'react-native-webvie
【文件预览】:
react-native-webview-comlink-master
----.travis.yml(47B)
----renovate.json(118B)
----package.json(2KB)
----update-native-bundle.js(474B)
----.github()
--------workflows()
----jest.config.js(210B)
----LICENSE(1KB)
----package-lock.json(643KB)
----src()
--------native()
--------__tests__()
--------web()
----examples()
--------native()
--------web()
----.gitignore(30B)
----rollup.config.web.js(663B)
----CHANGELOG.md(802B)
----.prettierrc.js(108B)
----README.md(3KB)
----.editorconfig(265B)
----babel.config.js(75B)

网友评论