MCPcopy Create free account
hub / github.com/NativeScript/firebase / updatePassword

Method updatePassword

packages/firebase-auth/index.android.ts:423–442  ·  view source on GitHub ↗
(password: string)

Source from the content-addressed store, hash-verified

421 }
422
423 updatePassword(password: string): Promise<void> {
424 return new Promise((resolve, reject) => {
425 if (!this.native) {
426 reject();
427 } else {
428 NSFirebaseAuth().User.updatePassword(
429 this.native,
430 password,
431 new org.nativescript.firebase.auth.FirebaseAuth.Callback({
432 onSuccess(success) {
433 resolve();
434 },
435 onError(error) {
436 reject(FirebaseError.fromNative(error));
437 },
438 })
439 );
440 }
441 });
442 }
443
444 updatePhoneNumber(credential: PhoneAuthCredential): Promise<void> {
445 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

updatePasswordMethod · 0.65

Tested by

no test coverage detected