Encore.shared.isClaimEnabled controls whether the claim call to action on offer cards responds to taps. Set it to false to dim the claim button and make it inert; set it back to true to restore it. It is a property on the facade rather than an Options field, so you can gate claims for a session, a cohort, or a screen without reconfiguring the SDK.
Signature
Usage
Set it before you present, then present as usual:Behavior
The offer sheet reads the value when it appears, so the flag applies from the next presentation onward. Changing it while a sheet is already on screen does not affect that sheet. WithisClaimEnabled == false, the claim button on every offer card renders dimmed and ignores taps. Nothing else about the presentation changes: offers are still fetched, the sheet still appears, impressions are still tracked, and every other control (including dismissal) behaves normally. A user who dismisses a sheet they could not claim from produces the same PresentationResult they would produce with claiming enabled: advertiser: .notAttempted and the dismissal they performed.
Turning claims off leaves purchases untouched. If a variant offers an in-app purchase, your
EncorePurchaseController is still invoked when the user buys.Related
- placement(), the presentation this flag applies to.
- PresentationResult, where a non-claim gets recorded as
advertiser: .notAttempted.