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?