(email: string, actionCodeSettings?: ActionCodeSettings)
| 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) => { |
nothing calls this directly
no test coverage detected