Skip to main content
On iOS and WebGL, expires every entitlement Encore granted the current player, and keeps the player’s ID and attributes. Use it in test and development builds to run an offer flow again for the same player. Don’t call it in a release build. Reset() clears the player’s identity. RevokeEntitlements() keeps it.

Signature

Parameters

Returns

RevokeEntitlementsAsync() returns a task that completes with an EncoreCallResult. The task never faults: a failure is a result with Success = false.

Example

EncoreCallResult

The result of a call that returns no value.

Notes

  • iOS and WebGL revoke. Android has no revoke in its native SDK, so on Android the result is always a failure with ErrorType = "domain_error". In the Unity Editor the result is also a failure.
  • Before Configure(), the result is a failure with ErrorType = "not_configured".
  • RevokeEntitlements throws ArgumentNullException when onComplete is null.