Problem with google play services

  • Slice

    Added incrementAchievement feature you said.

    Download again.

    Thanks

    Thank you cranberrygame

  • Slice

    You are welcome

  • Slice

    Could you help me with a step by step tutorial how to get the Google play service (leaderboard) to work with IntelXDK crosswalk?

    Appreciate it, thank you!

  • I read this part of the manual and it says that google play will only work in a browser ??

    https://www.scirra.com/manual/175/google-play

    So does that mean that we cant make a app that will use all the google play features?

  • I read this part of the manual and it says that google play will only work in a browser ??

    https://www.scirra.com/manual/175/google-play

    So does that mean that we cant make a app that will use all the google play features?

    Have to just use the In-App Browser plugin in Intel XDK.

  • Any tutorial or guide to use the in-app browser plugin? thanks!

  • Any tutorial or guide to use the in-app browser plugin? thanks!

    From my limited experience with it, there isn't much to do with the plugin. Just select it in your "Plugins and Permissions" section in Intel XDK. It is handled native from there on out. It is mentioned in the release notes for (r185). Nothing to do in Construct 2, that I know of, to do with the In-app browser. I will provide a link to the release notes where it is mentioned, and it's under the section "Google Play on PhoneGap/Crosswalk." I have gotten the google play plugin to sign in, and post scores.

    https://www.scirra.com/construct2/releases/r185

    EDIT: Something to do in Construct 2, to let you know the "sign-in" works and stuff, use the "Browser" plugin in construct 2 and have the browser "alert" a successful sign-in or error. Here is a very quick example of using "Browser's" "Alert" as a trigger to help you see if the plugin is working.

    [attachment=0:23vo2t8d]gps.JPG[/attachment:23vo2t8d]

    Hope this helps!

  • Slice

    Could you help me with a step by step tutorial how to get the Google play service (leaderboard) to work with IntelXDK crosswalk?

    Appreciate it, thank you!

    Hi xpentor

    use cranberrygame google play services plugin

    official google play not work for a moment

    https://www.scirra.com/forum/viewtopic.php?t=109586

    And See AndreasR's manual: http://shatter-box.com/wiki/phonegap-ga ... amecenter/

    Tested work perfect in Crosswalk <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thank you for the advise guys! really appreciate it!

  • Hi Slice

    I am not too sure on the following step written in the guide by AndreasR's:

    *(5) – Copy the ID next to the game name (here Zombie Resurrection) and insert it in the xml file at YOUR_GOOGLE_PLAY_GAME_APP_ID’ and save it*

    Where is the xml file in this case?

    Thanks!

  • In Intel XDK, under the develop tap, to the right you will see intelxdk.config.additions.xml. click it once and the XML text appears in the middle. Then you paste the code

    <!-- caution: copy this to intelxdk.config.additions.xml and replace YOUR_GOOGLE_PLAY_GAME_APP_ID -->

    <intelxdk:plugin intelxdk:name="game" intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game" intelxdk:id="com.cranberrygame.phonegap.plugin.game">

    <intelxdk:param intelxdk:name="APP_ID" intelxdk:value="YOUR_GOOGLE_PLAY_GAME_APP_ID" />

    </intelxdk:plugin>'

    change the YOUR_GOOGLE_PLAY_GAME_APP_ID to your app ID, and then click File/Save.

  • Hi Slice

    I am not too sure on the following step written in the guide by AndreasR's:

    *(5) – Copy the ID next to the game name (here Zombie Resurrection) and insert it in the xml file at YOUR_GOOGLE_PLAY_GAME_APP_ID’ and save it*

    Where is the xml file in this case?

    Thanks!

    In Root folder of your game

    File : intelxdk.config.additions.xml

    <!-- uncomment the following line to enable building a remote CDT debuggable app for Android 4.4 devices -->

    <!-- <preference name="debuggable" value="true" /> -->

    <intelxdk:plugin intelxdk:name="game" intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game" intelxdk:id="com.cranberrygame.phonegap.plugin.game">

    <intelxdk:param intelxdk:name="APP_ID" intelxdk:value="Change this with your game id" />

    </intelxdk:plugin>

  • Slice

    Thank you, it works now

  • Slice

    Thank you, it works now

  • Slice

    I am stuck after logging in, Do you know why everytime after login to Google Play Services, Google prompted a message box that says "*UNKNOWN ERROR" ? it seems like a failed login, I can't access leaderboard from the game. Thanks for your help.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)