How do I get google play games to work?

0 favourites
  • 2 posts
From the Asset Store
Google Analytics 4 Plugin for Construct 3 enables metrics and analytics for your games easily.
  • Hi.

    So I'm trying to connect my game to google play games but there's a problem I can't fix.

    I created the game in game services and linked the android app to it. I also linked a web app to the game with "Authorized JavaScript origins" and "Authorized redirect URIs" set to: "http://localhost".

    Then I did two tests, first I entered "client id" and "SHA-1 certificate fingerprint" of android app to the game (google play plugin properties), then I entered "client id" and "secret id" of web app, tested the game and in both cases when I'm trying to sign in I get this error:

    Then I added this line to config.xml:

    <preference name="OverrideUserAgent" value="Mozilla/5.0 Google" />

    It fixed the problem but now there's an other one, when I try to sign in, it opens a web page to google login page, while the whole point is to use the play games app.

    and this is my events for this test, i'd really appreciate any help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • no one?

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