You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I sometimes build apps (like for shipping, customer relations, maintaining people's profiles, ...), that need to have the phone number of signed-in users, and I want to use Firebase's Phone Number Authentication method to be sure that the phone number filled by signed-in users are really theirs (that is they have verified it).
Please note that I don't intend using phone number verification to be signing-in users to the apps. The users could sign in with email, or any other provider. The phone number verification could come in if the user signs-in for the first time on the app, or if they want to update their phone number. And as Firebase Authentication maintains phone number verification as a sign-in method and not as some extra feature, the best solution will be to call linkWithPhone to a newly signed-in user or to a user that lacks a phone number and to call updatePhone when the user wants to change their phone number.