Deepwall SDK manages paywalls' UI display in your app, and it also manages purchases and restoration of purchases whenever users trigger the buy or restore actions on the displayed paywalls.
Deepwall posts various events for the paywall display, purchase, or restore operations for apps to observe and take necessary actions when needed.
Event Observation
For iOS apps, first implement the DeepWallNotifierDelegate protocol to your class. Then you can use observeEvents method for event observation.
For non-iOS apps you need to use the Deepwall EventBus model.
Triggered after a paywall success or failure response received
deepwallPaywallOpened PAYWALL_OPENED
Triggered whenever a paywall is opened after a paywall request
deepwallPaywallActionShowDisabled DO_NOT_SHOW
Triggered whenever a paywall cannot be displayed due to paywall display is set as None
deepwallPaywallNotOpened PAYWALL_NOT_OPENED
Triggered whenever a paywall cannot be displayed due to duplicate requests which means this paywall request has been sent while a previous request is being processed
Triggered whenever a purchase or restore is made and receipt validation is successful or client receipt has been changed for any reason and Deepwall automatically validated the latest receipt. Validation type can be checked for restore success.