Currently the onAuthStateChanged has an event that gets called on initialization and we are currently holding a flag that says if first init, skip and then listen to all other events.
Seems a bit a hacky, but should work for now. Let's try to see if there is a better way to implement this thing.
Currently the
onAuthStateChanged
has an event that gets called on initialization and we are currently holding a flag that says if first init, skip and then listen to all other events.Seems a bit a hacky, but should work for now. Let's try to see if there is a better way to implement this thing.