(email: string, actionCodeSettings?: ActionCodeSettings)
| 493 | } |
| 494 | |
| 495 | verifyBeforeUpdateEmail(email: string, actionCodeSettings?: ActionCodeSettings): Promise<void> { |
| 496 | return new Promise((resolve, reject) => { |
| 497 | if (!this.native) { |
| 498 | reject(); |
| 499 | } else { |
| 500 | NSFirebaseAuth().User.verifyBeforeUpdateEmail( |
| 501 | this.native, |
| 502 | email, |
| 503 | actionCodeSettings?.native ?? null, |
| 504 | new org.nativescript.firebase.auth.FirebaseAuth.Callback({ |
| 505 | onSuccess(success) { |
| 506 | resolve(); |
| 507 | }, |
| 508 | onError(error) { |
| 509 | reject(FirebaseError.fromNative(error)); |
| 510 | }, |
| 511 | }) |
| 512 | ); |
| 513 | } |
| 514 | }); |
| 515 | } |
| 516 | } |
| 517 | |
| 518 | export class AuthSettings implements IAuthSettings { |
nothing calls this directly
no test coverage detected