Overview
Identify the player so Encore can trace a claim back to them, and set attributes so it can pick offers that suit them.Identify the player
CallIdentify with your own stable player ID once you know it, for example after sign-in. Identity powers attribution: a claim is traced back to this player through it.
Encore.Configure. A call made before Configure is ignored. Contract: Identify().
Set attributes
Attributes help Encore pick offers that suit the player. Pass them withIdentify, or later with SetUserAttributes:
Gender out otherwise.
Contract: SetUserAttributes(), and every field is on UserAttributes.
Set the language
Encore’s copy follows the device language. To match a language the player picked in your game, pass a BCP 47 tag such ases or pt-BR, and clear it to go back to the device language:
SetLanguage() and ClearLanguage(). How Encore picks a language is on Localization.
Reset on logout
CallReset when the player signs out, so the next player doesn’t inherit their identity:
Reset().
Next steps
Present offers
Show the reward sheet at a moment the player earned
Gifts Button
Put a gift entry on a game screen