How do I remember Google Play games login?

Just started using Construct 2? Post your questions here

Post » Wed Aug 12, 2015 3:32 pm

Hi everyone,

I installed phonegap plugin for google play leaderboard and achievement and have the following event

Phonegap: Is logged in - Phonegap:Show leaderboard for ID
Phonegap: Is x logged in - Phonegap: Login
Show leaderboard for ID

The problem is that everytime I exit the game and go back in, I need to press the leaderboard/achievement button twice for it to show up. It doesn't prompt for another login though, but nothing happens when I click on it the first time. Should I use webstorage to remember the login or is there a better solution?
Posts: 104
Reputation: 3,071

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests