MCPcopy Index your code
hub / github.com/NativeScript/firebase / sendEmailVerification

Method sendEmailVerification

packages/firebase-auth/index.ios.ts:336–360  ·  view source on GitHub ↗
(actionCodeSettings?: ActionCodeSettings)

Source from the content-addressed store, hash-verified

334 }
335
336 sendEmailVerification(actionCodeSettings?: ActionCodeSettings): Promise<void> {
337 return new Promise((resolve, reject) => {
338 if (!this.native) {
339 reject();
340 } else {
341 if (actionCodeSettings) {
342 this.native.sendEmailVerificationWithActionCodeSettingsCompletion(actionCodeSettings.native, (error) => {
343 if (error) {
344 reject(FirebaseError.fromNative(error));
345 } else {
346 resolve();
347 }
348 });
349 } else {
350 this.native.sendEmailVerificationWithCompletion((error) => {
351 if (error) {
352 reject(FirebaseError.fromNative(error));
353 } else {
354 resolve();
355 }
356 });
357 }
358 }
359 });
360 }
361
362 unlink(providerId: string): Promise<IUser> {
363 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected