Giter Site home page Giter Site logo

Comments (2)

finepointcgi avatar finepointcgi commented on August 29, 2024

It looks like if you disable popup it will not trigger this issues, however if I fire off and achievement I get another crash and stacktrace

12-29 12:39:03.109 21427 21427 E AndroidRuntime: FATAL EXCEPTION: main
12-29 12:39:03.109 21427 21427 E AndroidRuntime: Process: org.finepointcgi.gspp, PID: 21427
12-29 12:39:03.109 21427 21427 E AndroidRuntime: java.lang.IncompatibleClassChangeError: Found class com.google.android.gms.games.AchievementsClient, but interface was expected (declaration of 'com.google.android.gms.games.AchievementsClient' appears in /data/app/~~-5Qt9kLPsIBqWOJhjI5VSw==/org.finepointcgi.gspp-WpugocuKF66A0L06MHyN1w==/base.apk)
12-29 12:39:03.109 21427 21427 E AndroidRuntime:        at io.cgisca.godot.gpgs.achievements.AchievementsController.unlockAchievement(AchievementsController.kt:24)
12-29 12:39:03.109 21427 21427 E AndroidRuntime:        at io.cgisca.godot.gpgs.PlayGameServicesGodot$unlockAchievement$1.run(PlayGameServicesGodot.kt:244)
12-29 12:39:03.109 21427 21427 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:938)
12-29 12:39:03.109 21427 21427 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
12-29 12:39:03.109 21427 21427 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:201)
12-29 12:39:03.109 21427 21427 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:288)
12-29 12:39:03.109 21427 21427 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7842)
12-29 12:39:03.109 21427 21427 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
12-29 12:39:03.109 21427 21427 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
12-29 12:39:03.109 21427 21427 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

from pgsgp.

finepointcgi avatar finepointcgi commented on August 29, 2024

This is still an issue however I figured out how to get it all to work.
you need to make sure you have both web and android authentication on your app.
image
and make sure you have both authes in your app
image

BE SURE TO PUBLISH THEM OR IT WILL NOT WORK

finally be sure to set your token in the code the read me says nothing of this but it will cause a full crash on your app causing this stack trace
image
The client id is the WEB not the android one.

from pgsgp.

Related Issues (12)

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.