Giter Site home page Giter Site logo

pgsgp's People

Contributors

anisc avatar cgisca avatar congisca avatar dala00 avatar oneseedfruit avatar ozzadar avatar randomshaper avatar spietika avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pgsgp's Issues

The module is asking for access to personal info during sign in on Play Games.

When doing a play_games_services.signIn() (even with request_email disabled and request_profile disabled and save game disabled), the user is asked to give permission to the app to access his Google account info. This is an odd behavior.
Anyway to disable access to user Google account info? or any hint where I can turn it off in the code?

PGSGP: How works backend token verification?

I would like to integrate token authentication on the server side for the PlayGamesServices so that only the server can make calls.
"Never trust the client" ;)

Seems to be a common practice:
https://developer.android.com/games/pgs/android/server-access

Here is a graphic (for better understanding):
https://developer.android.com/games/playgames/integrating-pgs-existing-id-solutions#restore_player_state

How can I have the token received - (on the backend) from the client - exchanged for the access token at Google Play Games Services. Is there a module for this or another solution? Thanks in advance! :)

How to debug google play services

Hello! You seem to have the most active fork of this google play services repository so I'm going to ask my question here hope that is okay. I am currently struggling to get google play services up and running for the demo application. The readme states that we should be using a OAuth2 client credential that is of type "Web application". Is that correct? It seems a bit odd considering this is an android application and plug-in that we are using.

Also, would this work for a godot 3.3 project?

Stack trace and crash on login

Hey!
Im using this addon and everytime I try to login I get a stack trace saying its expecting an interface and got a class

12-29 12:00:31.036 19327 19327 D AndroidRuntime: Shutting down VM
12-29 12:00:31.037 19327 19327 E AndroidRuntime: FATAL EXCEPTION: main
12-29 12:00:31.037 19327 19327 E AndroidRuntime: Process: org.finepointcgi.gspp, PID: 19327
12-29 12:00:31.037 19327 19327 E AndroidRuntime: java.lang.IncompatibleClassChangeError: Found class com.google.android.gms.games.GamesClient, but interface was expected (declaration of 'com.google.android.gms.games.GamesClient' appears in /data/app/~~wB3kvUyirHWGIFARPNOpTQ==/org.finepointcgi.gspp-sTsf8cvrH5c50A2Gb7rwoA==/base.apk)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at io.cgisca.godot.gpgs.signin.SignInController.enablePopUps(SignInController.kt:104)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at io.cgisca.godot.gpgs.signin.SignInController.access$enablePopUps(SignInController.kt:12)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at io.cgisca.godot.gpgs.signin.SignInController$signIn$1.onComplete(SignInController.kt:52)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at com.google.android.gms.tasks.zzj.run(Unknown Source:4)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:938)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:201)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:288)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7842)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
12-29 12:00:31.037 19327 19327 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

I do end up getting my login in so the code itself seems to work however it always crashes on me or I get an error 10 depending on how the codes mood is.

Im using Godot 3.4 with Java 11

Godot 3.4

Just wanted to let people know that the repo works as is on godot 3.4. Updated my project to it recently with no issues.

How do you create a new snapshot?

I basically want to store some relevant user data in the save game (snpashot) area when they create their account. Ive tried save snapshot but it doesnt work. Not sure how I can evoke the _on_create_new_snapshot signal either. Any help?

Score must not be null, when retrieving leader board

if calling retrieve leader board from a new account returns,
"java.lang.NullPointerException: score must not be null"

encounter this on my main project, switched to a google play services test project and return it there too. I'd suggest this just to return 0?

Error 10

The plugin works until login time, when error code: 10.
I checked that everything was ok on the Play Console and Google Cloud and everything is set up correctly. Any idea?

I checked SHA1 and it's ok
I configured release and debug keystore and in both the error code is: 10

I'm using Godot 3.3.3.stable

NPE retrieveLeaderboardScore

Would be nice if you could fix this:

java.lang.NullPointerException: score must not be null
at io.cgisca.godot.gpgs.leaderboards.LeaderboardsController$retrieveLeaderboardScore$1.onSuccess(LeaderboardsController.kt:58)
at io.cgisca.godot.gpgs.leaderboards.LeaderboardsController$retrieveLeaderboardScore$1.onSuccess(LeaderboardsController.kt:17)
at com.google.android.gms.tasks.zzn.run(com.google.android.gms:play-services-tasks@@17.2.0:4)
at android.os.Handler.handleCallback(Handler.java:883)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.