Making an app in swift 4 and made phone number login authentication with firebase .
but the issue is when i log into the app after entering the otp recieved the real time data base shows no data of the logged in user .
Making an app in swift 4 and made phone number login authentication with firebase .
but the issue is when i log into the app after entering the otp recieved the real time data base shows no data of the logged in user .
Firebase Authentication does not automatically store data for its users in the Firebase Realtime Database, or in Cloud Firestore. If you need user information in the database, you will have to store it there yourself.
Here are some questions that show how to do this:
If you're set up with Firebase, check the Authentication tab on the left and you should see all users there (if they've been successfully created). You'll have access to their email and uid from that tab, but if you want to store more user data in a realtime database, you'll need to do that yourself. Links above are super helpful!