Google Play services login issue - Cranberry game plugin

Get help using Construct 2

Post » Tue Dec 08, 2015 3:59 pm

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.
B
5
S
2
Posts: 122
Reputation: 868

Post » Thu Dec 10, 2015 2:50 am

I'm not even able to build my app using Intel XDK :(
B
76
S
22
G
10
Posts: 641
Reputation: 9,973

Post » Wed Mar 09, 2016 8:08 pm

Did you solved it? I did
B
76
S
22
G
10
Posts: 641
Reputation: 9,973

Post » Fri Mar 11, 2016 12:58 pm

lolva do you add the plugin manually in XDK ?
B
12
S
3
Posts: 19
Reputation: 778

Post » Fri Mar 11, 2016 2:26 pm

@Iolva No unfortunately, i haven't solved it. Could you tell me how you did it please?
B
5
S
2
Posts: 122
Reputation: 868

Post » Fri Mar 11, 2016 3:32 pm

@tamixx
@tomhaiger
I'm going to make a tutorial but I'm going to wait until CLI 5.4.1 and Crosswalk 16 are available (maybe just 1 month)!
B
76
S
22
G
10
Posts: 641
Reputation: 9,973

Post » Fri Apr 15, 2016 7:49 pm

@Iolva Any luck with a tutorial for Google Play? I'm curious to see if your method works for me as i've been trying to get it to work without much success.
B
5
S
2
Posts: 122
Reputation: 868

Post » Fri Jun 03, 2016 9:46 am

any luck solving this problem yet !!!!
Image
B
36
S
13
G
1
Posts: 99
Reputation: 3,051

Post » Wed Jun 15, 2016 4:17 pm

@miketolsa No i haven't solved it yet unfortunately.
B
5
S
2
Posts: 122
Reputation: 868

Post » Thu Jun 16, 2016 12:23 pm

I can make a video on how i add play games in my app if you wan't but i use cordova CLI
B
12
S
3
Posts: 19
Reputation: 778

Next

Return to How do I....?

Who is online

Users browsing this forum: fisholith and 8 guests