Jamie Birch

Results 104 comments of Jamie Birch

### Potential root of problem I see there's a module bundled into `index.macos.bundle.js` that corresponds to [`react-native-macos/Libraries/ReactNative/UIManager.js`](https://github.com/ptmt/react-native-macos/blob/master/Libraries/ReactNative/UIManager.js#L43). It has some role in setting up the `UIManager.RCTWebView.Commands`, and therefore may explain...

@ptmt Thank you! Do you have any estimate of when the latest version's release might be? I found that JS injection is now mysteriously working on my end. As far...

I have ported the [react-native-wkwebview](https://github.com/CRAlpha/react-native-wkwebview) project [to macOS](https://github.com/shirakaba/react-native-wkwebview/tree/injectJavaScript), including the pull request that adds `injectJavaScript` support based on `WKUserContentController.addUserScript()`. While it doesn't close this issue, it's an alternative for anyone...

A note to myself (and anyone else heading down my rather individual path here) in future: `WKWebView` renames the `WebView.injectJavaScript()` method to `WebView.evaluateJavaScript()`. I discovered this simply by printing out...