Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException on Android #826

Closed
MHB2011 opened this issue Mar 11, 2023 · 3 comments
Closed

NullPointerException on Android #826

MHB2011 opened this issue Mar 11, 2023 · 3 comments

Comments

@MHB2011
Copy link

MHB2011 commented Mar 11, 2023

Issue

I'm using the react-native-app-auth package in my React Native application to authenticate users with Google. However, I'm experiencing an app crash that occurs after clicking on the user when a popup asks me to select the Google account. This crash issue occurs sporadically, but it is still a significant problem.

I already saw couple of similar issues : #672

but never had any soultion

In Sentry i can see this error:
NullPointerException
Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference

Stack trace:
com.rnappauth.RNAppAuthModule in onActivityResult at line 492
...

Thanks if you can help me :)


Environment

  • Your Identity Provider: Google
  • Platform that you're experiencing the issue on: Android
  • Are you using Expo? No
@SebastianHenn
Copy link

Yep this is still an issue for us, not just the Sign In With Google flow....
Would love to hear if anyone has any fixes!

@RubenPM-dev
Copy link
Contributor

Yep this is still an issue for us, not just the Sign In With Google flow.... Would love to hear if anyone has any fixes!

The fix is here #564

@carbonrobot
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants