Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
qdot opened this issue Nov 29, 2024 · 0 comments
Assignees
Labels
Features New things to add to the project

Comments

@qdot
Copy link
Member

qdot commented Nov 29, 2024

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 qdot added the Features New things to add to the project label Nov 29, 2024
@qdot qdot self-assigned this Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Features New things to add to the project
Projects
None yet
Development

No branches or pull requests

1 participant