I am able to create new user but having trouble registering the credentials to Firestore.
Can someone pls tell me what am I doing wrong??
here’s the code sample where I am registering user.
added necesary dependencies and code
I am able to create new user but having trouble registering the credentials to Firestore.
Can someone pls tell me what am I doing wrong??
here’s the code sample where I am registering user.
added necesary dependencies and code
2
Answers
Did you listen the event when
authStateChanges
?Try to add this code to
onInit
If you are having trouble registering users and storing their credentials in Firestore, you need to include the registration logic. Here’s a general outline of how you can register a new user and store their information in Firestore using the Firebase services: