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

Method sendSignInLinkToEmail

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

Source from the content-addressed store, hash-verified

1079 }
1080
1081 sendSignInLinkToEmail(email: string, actionCodeSettings?: ActionCodeSettings): Promise<void> {
1082 return new Promise((resolve, reject) => {
1083 if (!this.native) {
1084 reject();
1085 } else {
1086 NSFirebaseAuth().sendSignInLinkToEmail(
1087 this.native,
1088 email,
1089 actionCodeSettings.native,
1090 new org.nativescript.firebase.auth.FirebaseAuth.Callback({
1091 onSuccess(success) {
1092 resolve();
1093 },
1094 onError(error) {
1095 reject(FirebaseError.fromNative(error));
1096 },
1097 })
1098 );
1099 }
1100 });
1101 }
1102
1103 signInAnonymously(): Promise<IUserCredential> {
1104 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

sendSignInLinkToEmailMethod · 0.65

Tested by

no test coverage detected