Type Alias IapticEventType

IapticEventType:
    | "products.updated"
    | "purchase.updated"
    | "subscription.updated"
    | "subscription.renewed"
    | "subscription.cancelled"
    | "subscription.expired"
    | "subscription.changed"
    | "pendingPurchase.updated"
    | "nonConsumable.updated"
    | "nonConsumable.owned"
    | "nonConsumable.unowned"
    | "consumable.purchased"
    | "consumable.refunded"
    | "error"

All possible event types that can be listened to.

  • products.updated - When any product metadata is updated (title, price, description, etc.)
  • purchase.updated - When any purchase is updated (subscription, consumable, non-consumable)
  • subscription.updated - When a subscription is updated (renewed, cancelled, expired, changed)
  • subscription.renewed - When a subscription is renewed
  • subscription.cancelled - When a subscription is cancelled
  • subscription.expired - When a subscription is expired
  • subscription.changed - When a subscription is changed
  • pendingPurchase.updated - When a pending purchase status changes
  • nonConsumable.updated - When a non-consumable status changes (owned, unowned)
  • nonConsumable.owned - When a non-consumable purchase is owned
  • nonConsumable.unowned - When a non-consumable purchase is no longer owned
  • consumable.purchased - When a consumable purchase is purchased
  • consumable.refunded - When a consumable purchase is refunded
  • error - When an error occurs in the background