If this registered, paywall close
buttons will call back to this handler for your own custom business logic instead of using the system default, which is to just dismiss the paywall.
NamiPaywallManager.registerCloseHandler { paywall in
if let paywallVC = paywall {
paywallVC.dismiss(animated: true)
}
}
NamiPaywallManager.registerCloseHandler { paywall ->
Log.d(LOG_TAG, "Paywall Close requested - implement custom logic here")
paywall.finish()
}
// coming soon
// coming soon
NamiPaywallManager.RegisterCloseHandler(CloseCallback);
void CloseCallback()
{
// code, e.g.
NamiPaywallManager.Dismiss();
}