Guides
Platform communication
iOS message handler
2min
LiSA supports safe two-way communication between iOS WKWebView and the LiSA viewer app.
LiSA exposes a MessageHandler named MessageFromLiSA. Using this message handler, iOS WKWebView can receive messages from LiSA as described in the Window postMessage API article.
To send messages to the LiSA WebView, native JavaScript window object method postMessage must be invoked via JavaScript injection, passing the desired payload.
Updated 25 Mar 2024
Did this page help you?