Marcin K.
Marcin K.

Reputation: 91

Submitting score to leaderboards with Google Play Game Services

Is GamesClient.submitScore require online connection? How exactly is it working when user is offline? Scores to submit are saved in some sort of queue to execute when there is something to do or I must first save scores locally and then update it on Google Play GAme Services?

Upvotes: 9

Views: 3920

Answers (1)

Jackson Welch
Jackson Welch

Reputation: 173

yes it requires a network connection. However what you could do is use SharedPrefrences for when the user signs back in. This is what I did in my app. you just have to make sure the same person who is playing offline is the same one who will sign in later.

Hope this helps!

Upvotes: 3

Related Questions