Skip to main content

Signature

Parameters

BillingPurchaseResult

When It Fires

onPurchaseComplete fires only when:
  1. No onPurchaseRequest handler is registered
  2. Encore successfully completes a native Play Billing purchase
  3. The purchase is acknowledged
It does not fire when:
  • An onPurchaseRequest handler is set
  • The user cancels the purchase
  • The purchase fails

Usage

Adapty

Qonversion

RevenueCat and Superwall auto-detect Play Billing transactions when configured in observer mode. They do not need onPurchaseComplete.

Chaining

Behavior

  • Survives reset() — app-level infrastructure, not user state
  • Last handler wins — setting a new handler replaces the previous one