Skip to content

onAuthStateChanged not triggering on sign in and log out #6560

Answered by mikehardy
mypalvikram asked this question in Q&A
Discussion options

You must be logged in to vote

There are a bunch of ways things can go wrong, and it sounds like you have an issue, not a discussion, however your mention of other modules makes me question if this is a react-native-firebase problem or not.

We have a fully working auth demo that demonstrates it working

https://github.com/invertase/react-native-firebase-authentication-example/blob/68bd37f8c219f892655b40c73e9818370f368b82/template/src/app/App.tsx#L38

That line fires.

The dependencies are a little out of date, but nothing about it will stop working if I update, my work projects are up to date and they work - onAuthStateChanged works, I was just using it yesterday, and am about to again this morning.

If you can reproduce u…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@mypalvikram
Comment options

@mikehardy
Comment options

Answer selected by mypalvikram
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants