buttplug icon indicating copy to clipboard operation
buttplug copied to clipboard

Consider using Webkit Message Handlers for iOS WebView-to-Intiface Central communication

Open qdot opened this issue 1 year ago • 0 comments

It might be possible to build a Webkit message handler based connector instead of using websockets, for web-to-intiface-central communication on iOS. That said, I'm not sure if 2 way comms are available via this method, and where we'd handle the Webkit context (rust or flutter/dart?).

https://medium.com/swlh/web-to-native-code-communication-on-ios-using-wkscriptmessagehandler-8d307b3847fa

https://developer.apple.com/documentation/webkit/wkscriptmessage

qdot avatar Nov 29 '24 20:11 qdot