(code: string)
| 1351 | } |
| 1352 | |
| 1353 | applyActionCode(code: string): Promise<void> { |
| 1354 | return new Promise((resolve, reject) => { |
| 1355 | if (!this.native) { |
| 1356 | reject(); |
| 1357 | } else { |
| 1358 | NSFirebaseAuth().applyActionCode( |
| 1359 | this.native, |
| 1360 | code, |
| 1361 | new org.nativescript.firebase.auth.FirebaseAuth.Callback({ |
| 1362 | onSuccess(success) { |
| 1363 | resolve(); |
| 1364 | }, |
| 1365 | onError(error) { |
| 1366 | reject(FirebaseError.fromNative(error)); |
| 1367 | }, |
| 1368 | }) |
| 1369 | ); |
| 1370 | } |
| 1371 | }); |
| 1372 | } |
| 1373 | |
| 1374 | signInWithEmailAndPassword(email: string, password: string): Promise<IUserCredential> { |
| 1375 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected