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

Method sendPasswordResetEmail

packages/firebase-auth/index.android.ts:1059–1079  ·  view source on GitHub ↗
(email: string, actionCodeSettings?: ActionCodeSettings)

Source from the content-addressed store, hash-verified

1057 }
1058
1059 sendPasswordResetEmail(email: string, actionCodeSettings?: ActionCodeSettings): Promise<void> {
1060 return new Promise((resolve, reject) => {
1061 if (!this.native) {
1062 reject();
1063 } else {
1064 NSFirebaseAuth().sendPasswordResetEmail(
1065 this.native,
1066 email,
1067 actionCodeSettings?.native || null,
1068 new org.nativescript.firebase.auth.FirebaseAuth.Callback({
1069 onSuccess(success) {
1070 resolve();
1071 },
1072 onError(error) {
1073 reject(FirebaseError.fromNative(error));
1074 },
1075 })
1076 );
1077 }
1078 });
1079 }
1080
1081 sendSignInLinkToEmail(email: string, actionCodeSettings?: ActionCodeSettings): Promise<void> {
1082 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected