trust-web3-provider
trust-web3-provider copied to clipboard
Is it used in reactnative? How does WebView inject this JS
Is it used in reactnative? How does WebView inject this JS
i have the same question @RNHaoHao . did u find answer ?
我也有同样的问题@RNHaoHao. 你找到答案了吗?
Have you solved it
Easy!
- Copy file
trust-min.jsto BundleAsset (android) or bundle (ios). - Use react-native-fs to load content file.
- Use props
injectedJavaScriptBeforeContentLoadedto inject content of the filetrust-min.jsto website