How to change Signed phone number in Firebase Authentication for Android?
I am using Android Firebase Auth Ui to provide phone number based login option in android app. I am trying to provide an additional option to subscribe in users to switch their subscribed phone number to another number while maintaining the same user account.
But according to Firebase Docs there are no options for the phone number to change the signed number.
There are options for linking different authentication providers like email, Google or Facebook, etc. with the same account. But nobody mentions how to change the phone number or email id while keeping the same user id.
Is there a workaround or method by which we can achieve this?
source to share
There is an API to update the phone number of the current user: https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseUser.html#updatePhoneNumber(com.google.firebase.auth.PhoneAuthCredential)
source to share