Google signin is not working correctly

Hi

I’m receiving many Google crashes that seem to indicate that the google signin plugin has some issues. Can this be fixed?

The crash logs are as follows…

  at com.naef.jnlua.LuaState.lua_setfield
  at com.naef.jnlua.LuaState.setField (LuaState.java:1447)
  at com.ansca.corona.CoronaLua.newEvent (CoronaLua.java:103)
  at plugin.googleSignIn.LuaLoader$signIn$1.onResult (LuaLoader.java:305)
  at plugin.googleSignIn.LuaLoader$signIn$1.onResult (LuaLoader.java:284)
  at androidx.credentials.playservices.controllers.BeginSignIn.CredentialProviderBeginSignInController$handleResponse$3.invoke$lambda$0 (CredentialProviderBeginSignInController.kt:154)
  at androidx.credentials.playservices.controllers.BeginSignIn.CredentialProviderBeginSignInController$handleResponse$3.$r8$lambda$EuW3IcoqvL70UaolBuSgzA1R6ic (Unknown Source)
  at androidx.credentials.playservices.controllers.BeginSignIn.CredentialProviderBeginSignInController$handleResponse$3$$ExternalSyntheticLambda0.run (D8$$SyntheticClass)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:919)```

I'm hoping someone can resolve this for me?

and this

Exception java.lang.Error:
  at com.naef.jnlua.LuaState.lua_pushstring
  at com.naef.jnlua.LuaState.pushString (LuaState.java:691)
  at com.ansca.corona.CoronaLua.newEvent (CoronaLua.java:102)
  at plugin.googleSignIn.LuaLoader$signIn$1.onResult (LuaLoader.java:305)
  at plugin.googleSignIn.LuaLoader$signIn$1.onResult (LuaLoader.java:284)
  at androidx.credentials.playservices.controllers.BeginSignIn.CredentialProviderBeginSignInController$handleResponse$3.invoke$lambda$0 (CredentialProviderBeginSignInController.kt:154)
  at androidx.credentials.playservices.controllers.BeginSignIn.CredentialProviderBeginSignInController$handleResponse$3.$r8$lambda$EuW3IcoqvL70UaolBuSgzA1R6ic (Unknown Source)
  at androidx.credentials.playservices.controllers.BeginSignIn.CredentialProviderBeginSignInController$handleResponse$3$$ExternalSyntheticLambda0.run (D8$$SyntheticClass)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

Is there anyone in the solar team that can look at this? I believe it is a plugin by @Scott_Harrison? Maybe he can fix it?

@solar_dev I just pushed another update which should help,
I really need a reproducible case to verify full fix

Just tested this on problem devices and it seems much better - thank you @Scott_Harrison!

Your sample app is all you need to test this (sometimes it’s not the code but the device!)… I would advise getting any pixel device running android 15 as these seem to be much more strict compared to normal android devices (especially with shaders! no P_DEFAULT on a variable and the shader will not compile)

1 Like