Google Play not working properly

  • I understand people are finding some of the new requirements a pain, I would like to say that I also find them pretty tedious. Just so everyone is clear:

    - APK files must be signed

    - You must supply your SHA-1 certificate signature in the Google Play Developer Console

    - The Google account you are testing with must be listed as a tester in the Google Play Developer Console

    If any of these are not done, when login is called it will briefly show the Play Games dialog, then it will vanish. These 3 things are required by Google (not by us), and any application that wants to use the Play Games service on Android must fulfil them.

    The reason why they were not previously required was because we used the Web API on all platforms, and the requirements are a lot slacker for the Web API. Unfortunately Google no longer allow you to use the web API within a WebView for security reasons.

    There are currently no known issues with the plugin. If you are experiencing a bug that isn't a sign in related configuration error then please open an issue on our bug tracker and I will look into it ASAP.

    Thanks for the reply

    I've managed to get auto-sign in to work, set score, and show leaderboard, however I am having issues trying to load the players high score and replace a global variable. No matter what I try, it crashes my game.

    How should I go about doing this? Can you let me know the order of events to do the following:

    -Load the player's own high score

    -if high score (loaded above) is greater than global variable "GooglePlayHighScore", replace value in global variable variable

    -set a text field to global variable "GooglePlayHighScore"

  • KENYONB if the app is crashing there's a good chance there's a bug in whatever action your using, could you open a bug report for me with your project?

    I just need the logic pertaining to Google Play, you can remove the rest. Also you can remove the APP_ID's etc. as well. That way I can test for any bugs and let you know if there's a better way round to do it

    Silviu Not a bad suggestion, but it normally takes me a little while to getting around to writing tutorials and it sounds like quite a time consuming one to write. I'll put it down on the to do list anyway.

  • All these problems are already known and have been reported, I am also waiting for scirra update because I have the same problems.

  • KENYONB if the app is crashing there's a good chance there's a bug in whatever action your using, could you open a bug report for me with your project?

    I just need the logic pertaining to Google Play, you can remove the rest. Also you can remove the APP_ID's etc. as well. That way I can test for any bugs and let you know if there's a better way round to do it <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Silviu Not a bad suggestion, but it normally takes me a little while to getting around to writing tutorials and it sounds like quite a time consuming one to write. I'll put it down on the to do list anyway.

    Thanks Nepeo I opened a bug report:

    https://github.com/Scirra/Construct-3-bugs/issues/1484

    Please let me know if you have enough info. Everything else in the game works fine, so not sure you need the whole project. I just need clarification on how to call for hiscore and set text.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry for ressurect this post, but the problem its solved?

    I`m having dificulties in auto google play login, showing high score, and achievements..

    Can someone help me with a exemple of .c3p?

    What i do is, if google play loadad-> sign in

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