Skip to main content

Show a Placement

The placement(id).show() pattern is consistent across all Encore SDKs.

Handlers

Register these once at app startup, after configure().

onPurchaseRequest

Called when a user accepts an offer that requires a purchase:

onPassthrough

Called when the user dismisses or no offers are available. Resume the original flow:

onPurchaseComplete (Optional)

Fires after a native purchase completes (when no onPurchaseRequest handler is set):

Claim Control

Disable the claim button while a purchase is in progress:

Next Steps