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