(email: string)
| 376 | } |
| 377 | |
| 378 | updateEmail(email: string): Promise<void> { |
| 379 | return new Promise((resolve, reject) => { |
| 380 | if (!this.native) { |
| 381 | reject(); |
| 382 | } else { |
| 383 | this.native.updateEmailCompletion(email, (error) => { |
| 384 | if (error) { |
| 385 | reject(FirebaseError.fromNative(error)); |
| 386 | } else { |
| 387 | resolve(); |
| 388 | } |
| 389 | }); |
| 390 | } |
| 391 | }); |
| 392 | } |
| 393 | |
| 394 | updatePassword(password: string): Promise<void> { |
| 395 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected