MCPcopy Create free account
hub / github.com/NativeScript/firebase / applyActionCode

Method applyActionCode

packages/firebase-auth/index.android.ts:1353–1372  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

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) => {

Callers

nothing calls this directly

Calls 1

applyActionCodeMethod · 0.65

Tested by

no test coverage detected