Skip to main content
Fires when the advertiser’s postback confirms a claim. Applies only when configure() set unlockMode: 'strict'.

Structure

When to use it

Subscribe when running in strict mode and you want to react to a confirmation that lands after show() has resolved. The postback usually arrives once the user is already at the advertiser, and sometimes after the page that made the claim is gone, so no return value can carry it. Register the callback immediately after configure(). A claim left pending by an earlier page load is re-checked during SDK initialization, so a late subscription misses it.

Behavior

This is a signal, not an authorization. It reports that Encore observed the advertiser’s postback, and it is delivered by client-side code. Treat it as a prompt to re-read entitlements from your backend through Encore’s server-side entitlements API, which is authoritative.
  • configure(): turning on strict mode.
  • show(): resolves 'claimed' at handoff in both modes.