There are bunch of manager user functions. Like, you verify user using phone verification and then add further details to same user. I can't find all functions in that other than email verification functions and update profile function. Can you please point me if functions are already implemented or if any plans to implement them?
Well, quite a few of those are implemented and documented here: https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/master/docs/AUTHENTICATION.md, so please be more specific about what you need.
@EddyVerbruggen hey, thanks for replying and nice library.
Requirement for me is, I need to allow user to authenticate him/her self using email/phone and password. And I also need to verify phone no.
So, I was thinking of creating user using phone no verification method. Which is as per documentation working. But then I wanted to add other details to user like, name, email etc. I couldn't find any method to do that.
Below are the methods I couldn't find.
user.updateEmail("[email protected]").then(function() {
// Update successful.
}).catch(function(error) {
// An error happened.
});
and to update password
user.updatePassword(newPassword).then(function() {
// Update successful.
}).catch(function(error) {
// An error happened.
});
Also, one more dumb question. There is provider array we are having for user. So, is it possible to have multiple verification method for same user?
Any idea when the updateEmail method will be implemented?
@kunjee17 Changing a password is supported: https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/b833b1bee77b0f30217af14c1902ad76d6b543ad/docs/AUTHENTICATION.md#changing-a-password
Thanks @EddyVerbruggen
@EddyVerbruggen any idea for the updateEmail method?
@rafaelcmrj I've just added updateEmail, check out the doc.
I've also aligned this a bit better with the Web API:
changePassword is now updatePasswordupdateEmailresetPassword is now sendPasswordResetEmailWill be part of 8.0.0 and that will be out in about a week.
Most helpful comment
@rafaelcmrj I've just added
updateEmail, check out the doc.I've also aligned this a bit better with the Web API:
changePasswordis nowupdatePasswordupdateEmailresetPasswordis nowsendPasswordResetEmailWill be part of 8.0.0 and that will be out in about a week.