Nativescript-plugin-firebase: Couldn't find Manage User functions

Created on 20 Dec 2018  路  7Comments  路  Source: EddyVerbruggen/nativescript-plugin-firebase

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?

Android Authentication enhancement iOS

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:

  • changePassword is now updatePassword
  • added updateEmail
  • resetPassword is now sendPasswordResetEmail

Will be part of 8.0.0 and that will be out in about a week.

All 7 comments

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?

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 updatePassword
  • added updateEmail
  • resetPassword is now sendPasswordResetEmail

Will be part of 8.0.0 and that will be out in about a week.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vchimev picture vchimev  路  3Comments

NickIliev picture NickIliev  路  3Comments

andrewexton373 picture andrewexton373  路  4Comments

tsili852 picture tsili852  路  3Comments

jlooper picture jlooper  路  3Comments