Open erikwalle opened 3 years ago
I haven't reproduced this myself but google is reporting it in their automated tests. I've also seen it on crashlytics, occurs in Android 8.1.
Line:
https://github.com/openforge/capacitor-game-services/blob/development/android/src/main/java/io/openforge/gameservices/GameServices.java#L57
Error:
io.openforge.gameservices.GameServices.handleOnActivityResult (GameServices.java:57) com.getcapacitor.Bridge.onActivityResult (Bridge.java:1000) com.getcapacitor.BridgeActivity.onActivityResult (BridgeActivity.java:216) android.app.Activity.dispatchActivityResult (Activity.java:8300)
@Ricardo385 can you look into this?
I haven't reproduced this myself but google is reporting it in their automated tests. I've also seen it on crashlytics, occurs in Android 8.1.
Line:
https://github.com/openforge/capacitor-game-services/blob/development/android/src/main/java/io/openforge/gameservices/GameServices.java#L57
Error:
Fatal Exception: java.lang.RuntimeException Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {com.overworld.app/com.overworld.app.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.google.android.gms.auth.api.signin.GoogleSignInResult.isSuccess()' on a null object reference
io.openforge.gameservices.GameServices.handleOnActivityResult (GameServices.java:57) com.getcapacitor.Bridge.onActivityResult (Bridge.java:1000) com.getcapacitor.BridgeActivity.onActivityResult (BridgeActivity.java:216) android.app.Activity.dispatchActivityResult (Activity.java:8300)