TobiasBuchholz / Plugin.Firebase

Wrapper around the native Android and iOS Firebase Xamarin SDKs
MIT License
220 stars 49 forks source link

[Question] [Firebase Authentication] Is it possible to return the User Id when creating a new account? #183

Closed vhugogarcia closed 1 year ago

vhugogarcia commented 1 year ago

Hello @TobiasBuchholz ,

I'm wondering if it is possible for the method:CrossFirebaseAuth.Current.CreateUserAsync(email, password); to return the UserId generated.

image

If not possible, do you know if there is a method to return a UserId of a user by email and password without needing to authenticating first?

Thanks in advance

TobiasBuchholz commented 1 year ago

Hi @vhugogarcia, I've just released a new version 2.0.3 of the Auth package that has the CrossFirebaseAuth.Current.CreateUserAsync(email, password) method return an IFirebaseUser instance ✌️

vhugogarcia commented 1 year ago

Thank you so much for the faster response @TobiasBuchholz really appreciate it 😃. I will give it a try today.