I've been using phonegap plugin to access leaderboard for my android games. However in the latest game it keeps showing unknown error when trying to login. I am using the same events and codes from the previous games so I have no idea what went wrong. All the games are signed and exported using intel XDK with Cordova.
The events are simple:
On touch "Google Play Object" and Phonegap is not logged in: Phonegap Login
It worked for all my previous games but just for this one, it keeps showing "Unknown Error"
When I click on the object, it shows that it's trying to connect but after a few seconds it shows that error.
Any help is greatly appreciated.