Webview Callback Schema
Handling the interaction between webview programs and the app
Open Deeplink
Example use case: Webview wants to redirect user to cart page on a button click.
Close
Example use case: User wants to close the webview by clicking on close button.
Share
Example use case: User might want to use social share for referral or sharing reward the user won.
Invalid Campaign Id
Example use case: In case of providing an invalid campaignId in the open campaign method, the wallet opens up by default. The following event is also triggered and can be consumed to handle the case in a custom manner.
Analytics
Example use case: Capture Webview interaction events like page loads, clicks directly on the app
Last updated