How do I get google play to login in my game?

Get help using Construct 2

Post » Thu Nov 19, 2015 12:10 pm

Hi.

I have just uploadet my first game to google play (android), I just got a problem.
When my game app begin, I wanna have my app to ask about the standard google play permission to the player. How do I do that?

I have also 5 achivements that doesnt work, and I think it because my app doesnt ask for permission.

Thanks :)
B
5
Posts: 31
Reputation: 361

Post » Thu Nov 19, 2015 2:31 pm

I just read a lot on the internet about that the Google Play plugin in Construct 2 doesnt work because the Client Secret key doesn't show anywhere.
I've been recommanded to download the cranberry plugins from http://cranberrygame.github.io/
Are this the only way to get it to work? And I'm be told that these plugins is free, but I can not get it to download.
B
5
Posts: 31
Reputation: 361

Post » Thu Nov 19, 2015 2:46 pm

cranberry plugins are not free, it cost only 5$ for the 98 plugins
B
31
S
11
G
6
Posts: 1,582
Reputation: 8,362

Post » Thu Nov 19, 2015 2:56 pm

Thanks. But is it really the only way to get it to work? I think Scirra maybe allready have some cool functions to get it to work.
I'm ready to buy the Cranberry plugins. The only thing I need is a sign in and achivements unlocker.
B
5
Posts: 31
Reputation: 361

Post » Fri Nov 20, 2015 11:49 am

Now I have set it all up with the cranberry plugin, but it still doesnt work. Can someone please help?
I use IntelXDK.
B
5
Posts: 31
Reputation: 361

Post » Fri Nov 20, 2015 11:58 am

I have also added the simple "exit" plugin in the game, but that also don´t work. I think something is going wrong when it is in IntelXDK.

I have followed this instructions:
1. You need to add the cranberry game plugin to construct2
2. Then add the plugin to your project and configure login etc.
3. Export to intel XDK
4. Ad your Google ID to intelxdk.config.additions
5. Enable the "Phonegap +Admob* Plugin" in Cordova settings of your project in IntelXDK (it is supposed to be activated right away but that is not working for me so I always enable that)
6. Set export option to "not signed"
7. Export via Android/Crosswalk
8. Sign your APK with your Key
9. Run app on a device
10. Get a cocktail to celebrate awesomeness

Number 6 I just set it to "signed" because I don´t know how I do number 8...
B
5
Posts: 31
Reputation: 361

Post » Fri Nov 20, 2015 9:51 pm

Anyone please?
B
5
Posts: 31
Reputation: 361

Post » Wed Dec 23, 2015 5:41 am

Message: Jowy2000 is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
Did you ever get this figured out? I'm in a similar boat except I followed: What error did you hit?

I got:
Error: Plugin Google Play Services for Android failed to install.
Error: Plugin Cordova Game plugin failed to install.

When I tried to build from intel xdk :(
B
11
S
2
G
1
Posts: 11
Reputation: 1,117

Post » Wed Dec 23, 2015 10:49 am

try this i am planing to try it out myself
https://shatter-box.com/knowledgebase/c ... nstruct-2/
Image
B
33
S
10
G
2
Posts: 303
Reputation: 3,517

Post » Wed Dec 23, 2015 10:52 am

I've come up with a very easy solution to this, even wrote a tutorial about it: https://www.scirra.com/tutorials/4864/h ... in-cordova
Website Twitter Indie Developer
B
20
S
5
G
4
Posts: 203
Reputation: 2,898

Next

Return to How do I....?

Who is online

Users browsing this forum: 20170217, hyem, Lancifer, Per3za and 8 guests