I'm having issue with implementing Google Play serivces to my game for leaderboards, my app is not connecting to Google play services properly so the leaderboards aren't working.
I'm using Cranberry Cordova Game Plugin, i've set up everything in the events and in Intel XDK (installing the plugin & change the code) and I've uploaded it to beta in Google Play. When testing it, the app only seems to connect to play services when it feels like it, it'll connect a couple of times each time when starting the app and after that it won't connect again.
I've also got a leaderboard button and have it so that it logins in the player if they aren't logged in and if they are logged in, it opens the leaderboard. This button works if i'm logged in, it opens the leaderboard with no issue. However this button doesn't work completely to login the user if i choose not to login at the beginning.
Here's how I've done my events -
SPLASH SCREEN LAYOUT (before main menu layout)
End of layout - Cordova Game Login
MAIN MENU LAYOUT
On Touched Button - Cordova Game Login
- Cordova Game is Logged in - Show Leaderboard
I hope i've made this clear, apologies if it's not. I'd appriciate help on this as its becoming really frustrating trying to get this to work.