gideros icon indicating copy to clipboard operation
gideros copied to clipboard

Native crash on Android: Leaderboards?

Open totebo opened this issue 8 years ago • 9 comments

Gideros 2017.8.2

Exception java.lang.SecurityException: Not signed in when calling API
android.os.Parcel.readException (Parcel.java:1693)
android.os.Parcel.readException (Parcel.java:1646)
com.google.android.gms.games.internal.IGamesService$Stub$Proxy.zzm ()
com.google.android.gms.games.internal.GamesClientImpl.zzl ()
com.google.android.gms.games.internal.api.LeaderboardsImpl.getLeaderboardIntent ()
com.google.android.gms.games.internal.api.LeaderboardsImpl.getLeaderboardIntent ()
com.google.android.gms.games.internal.api.LeaderboardsImpl.getLeaderboardIntent ()
com.giderosmobile.android.plugins.gaming.frameworks.GameGoogleplay.showLeaderboard (GameGoogleplay.java:110)
com.giderosmobile.android.plugins.gaming.Game$6.run (Game.java:208)
android.os.Handler.handleCallback (Handler.java:751)
android.os.Handler.dispatchMessage (Handler.java:95)
android.os.Looper.loop (Looper.java:154)
android.app.ActivityThread.main (ActivityThread.java:6776)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)

totebo avatar Sep 29 '17 09:09 totebo

The message is rather explicit: you called showLeaderboard without being logged in GooglePlay

hgy29 avatar Oct 03 '17 12:10 hgy29

The thing is that never happens, the user is always logged in first. Maybe Google Play logs you out after a certain time?

totebo avatar Oct 04 '17 08:10 totebo

Or maybe the network connection failed ?

hgy29 avatar Oct 04 '17 08:10 hgy29

Yeah, that could be it. This one can probably be closed.

totebo avatar Oct 04 '17 08:10 totebo

anyhow the issue should be reported back to lua instead of hard crashing

hgy29 avatar Oct 04 '17 09:10 hgy29

Good point.

totebo avatar Mar 18 '18 04:03 totebo

Still relevant I think.

totebo avatar Dec 04 '18 09:12 totebo

@totebo still relevant too?

mokalux avatar Jan 02 '20 05:01 mokalux

Don't think so.

totebo avatar Jan 02 '20 10:01 totebo