Custom Paywall Actions
Run your own Expo app code when a paywall button is tapped: add a custom action in the paywall editor and handle it with handleCustomPaywallAction.
For example, adding a custom action called help_center to a button in your paywall gives you the opportunity to present a help center whenever that button is pressed. To set this up, implement handleCustomPaywallAction(withName:) in your SuperwallDelegate:
handleCustomPaywallAction(name: string) {
if (name == "help_center") {
HelpCenterManager.present();
}
}Remember to set Superwall.shared.delegate! For implementation details, see the Superwall Delegate guide.
How is this guide?
Viewing Purchased Products
See which product a user bought from a Superwall paywall in your Expo app, using the presentation handler's onDismiss, the delegate, or a purchase controller.
Observer Mode
Report purchases made outside Superwall in your Expo app with observer mode and shouldObservePurchases, and see what Android needs from native code.