react-native has some impressive bridging machinery:
github.com/facebook/react
github.com/facebook/react
github.com/facebook/react
Conversation
Really looks impressive. It's a pity that RCTWebViewExecutor is currently debug-only, so no way of using apis like WebAudio.
2
Hm, but the point of react-native is to use native implementations of this stuff. You could write a bridge for AVAudioPlayer…
1
Right. Was just a thought: react-native makes mobile more accessible for web devs, so better reuse existing popular apis.
3
Replying to
Yeah, that's an interesting point: why not use that API surface? Hm.
Replying to
I guess security or performance reasons for exclusively JavaScriptCore. RTCWebView keeps stringByEvaluatingJS... hidden too.
2
yeah, if we were to use webview executor we could use websocket, xhr... out of the box
1
Show replies


