(code: string)
| 1206 | } |
| 1207 | |
| 1208 | applyActionCode(code: string): Promise<void> { |
| 1209 | return new Promise((resolve, reject) => { |
| 1210 | if (!this.native) { |
| 1211 | reject(); |
| 1212 | } else { |
| 1213 | this.native.applyActionCodeCompletion(code, (error) => { |
| 1214 | if (!error) { |
| 1215 | resolve(); |
| 1216 | } else { |
| 1217 | reject(FirebaseError.fromNative(error)); |
| 1218 | } |
| 1219 | }); |
| 1220 | } |
| 1221 | }); |
| 1222 | } |
| 1223 | |
| 1224 | signInWithEmailAndPassword(email: string, password: string): Promise<IUserCredential> { |
| 1225 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected