Guides
Platform communication
Android message handler
1min
LiSA supports safe two-way communication between Android WebView and the LiSA viewer app.
LiSA exposes a MessageHandler named MessageFromLiSA. Using this message handler, Android WebView can receive messages from LiSA as described in Window postMessage API.
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?