(email: string)
| 898 | } |
| 899 | |
| 900 | fetchSignInMethodsForEmail(email: string): Promise<string[]> { |
| 901 | return new Promise((resolve, reject) => { |
| 902 | if (!this.native) { |
| 903 | reject(); |
| 904 | } |
| 905 | this.native.fetchSignInMethodsForEmailCompletion(email, (emails, error) => { |
| 906 | if (error) { |
| 907 | reject(FirebaseError.fromNative(error)); |
| 908 | } else { |
| 909 | const arr = []; |
| 910 | if (emails) { |
| 911 | const size = emails.count; |
| 912 | for (let i = 0; i < size; i++) { |
| 913 | arr.push(emails.objectAtIndex(i)); |
| 914 | } |
| 915 | } |
| 916 | resolve(arr); |
| 917 | } |
| 918 | }); |
| 919 | }); |
| 920 | } |
| 921 | |
| 922 | isSignInWithEmailLink(emailLink: string): boolean { |
| 923 | return this.native.isSignInWithEmailLink(emailLink); |
nothing calls this directly
no test coverage detected