Closed theLee3 closed 9 months ago
Warnings | |
---|---|
:warning: | Please update the `CHANGELOG.md` file. |
:warning: | Please update the documentation in the `docs/` folder. |
Generated by :no_entry_sign: dangerJS against 83f014aec988ebd895901fcd5c01b8b680381a17
I think proguard-rules.pro
requires this:
-keep class com.abedalkareem.games_services.models.PlayerData { <fields>; }
Without this, the data returned cannot be parsed due to the mangling done by a release build. Discovered the issue during Open Testing in the Play Console, but was fine during local Debug builds. Resolved by adding the above.
Adds a
PlayerData
class to return inside aLeaderboardScoreData
object. ThePlayerData
object includes the previously availabledisplayName
&iconImage
and addsplayerID
&teamPlayerID
.teamPlayerID
is only available on iOS/macOS andplayerID
can be null on Android due to privacy settings.scoreHolderDisplayName
&scoreHolderIconImage
getters are added toLeaderboardScoreData
to maintain backwards compatibility.Closes #146.