@objc enum NamiPaywallAction : Int {
case NAMI_CLOSE_PAYWALL = 0
case NAMI_RESTORE_PURCHASES = 1
case NAMI_SIGN_IN = 2
case NAMI_BUY_SKU = 3
case NAMI_SELECT_SKU = 4
case NAMI_PURCHASE_SELECTED_SKU = 5
}
enum class NamiPaywallAction {
NAMI_CLOSE_PAYWALL,
NAMI_RESTORE_PURCHASES,
NAMI_SIGN_IN,
NAMI_BUY_SKU,
NAMI_SELECT_SKU,
NAMI_PURCHASE_SELECTED_SKU
}
NAMI_CLOSE_PAYWALL
- the paywall is closed through the close control (if available), or by using the operating system to dismiss the view. For instance, through a hardware back button on Android or swiping the modal view away on iOS
NAMI_RESTORE_PURCHASES
- the users invokes the paywall's restore purchases control
NAMI_SIGN_IN
- the users invokes the paywall's sign in control
NAMI_BUY_SKU
- the users starts the purchase flow by choosing a sku. For paywalls where product sku is a button that initiates the purchase flow.
NAMI_SELECT_SKU
- the users selects a sku. For paywalls where the product skus are decoupled from the call to action button that initiates the purchase flow.
NAMI_PURCHASE_SELECTED_SKU
- the users starts the purchase flow from the selected sku. For paywalls where the product skus are decoupled from the call to action button that initiates the purchase flow.