1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Android Google Play - can not login if installed from Google Play Store

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Traversal, Feb 12, 2020.

  1. Traversal

    Traversal Member

    Joined:
    May 1, 2017
    Posts:
    75
    Once my apk is uploaded to the Google Play Store (public accessable) I can no longer
    Login via achievement_login(); or open the leaderboard etc.

    I did:

    - add the 12 Digit App-Number (Client-ID) under "social" for Android

    - added the RSA key from DevTool "Services & APIs" MIIBIjANB….. in Packeting

    - checked the App-Signature for Upload SHA1 macthes the one in GMS2 in the Settings (Show Keystore-Haskey / Fingerprint)

    My App-Info is filled out, Google Play Services are enabled on Google Play Console and
    the Extension added inside my Project.

    If I compile from GMS 2 to my phone, I can Login to Google and submit my score.
    As soon, as the very same apk was processed by Google and can be downloaded from Google Play
    Store, the Login no longer works.

    I already did uninstall before installing it from Google Play Store.
    Somehow it looks as if Google breaks the access to the Play Services after displaying
    the "Connecting to Google Play"-Overlay!

    API & Services Shows 435 times accessed and 0% Error for "Google Play Game Services".


    GMS 2
    IDE 2.2.5.481
    Runtime 2.2.4.364
    GPlayServ. Extension 3.1.9
     
    Last edited: Feb 12, 2020
  2. Traversal

    Traversal Member

    Joined:
    May 1, 2017
    Posts:
    75
  3. Traversal

    Traversal Member

    Joined:
    May 1, 2017
    Posts:
    75
  4. chirpy

    chirpy Member

    Joined:
    Oct 6, 2016
    Posts:
    190
    If "App Signing" is enabled in Google Play Console (default to yes), your SHA1 key is used only for uploading to Google Play Console, Google will replace it with another key. (As attached: Google Play Console -> Release Management -> App Signing)

    Google's official troubleshooting guide says that you can associate another key to your game service, but I haven't tried it yet.
    https://developers.google.com/games/services/android/troubleshooting
     

    Attached Files:

    Traversal likes this.
  5. Traversal

    Traversal Member

    Joined:
    May 1, 2017
    Posts:
    75
    Thank you Chirpy! I created a new one without Signing and only using the keystore SHA1 provided by GMS2.
    My Game is in the store now and the Login and Leaderboard seem to work now as desired.

    You helped me a lot with your answer!!
     
    chirpy likes this.

Share This Page