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

Method unlink

packages/firebase-auth/index.ios.ts:362–376  ·  view source on GitHub ↗
(providerId: string)

Source from the content-addressed store, hash-verified

360 }
361
362 unlink(providerId: string): Promise<IUser> {
363 return new Promise((resolve, reject) => {
364 if (!this.native) {
365 reject();
366 } else {
367 this.native.unlinkFromProviderCompletion(providerId, (user, error) => {
368 if (error) {
369 reject(FirebaseError.fromNative(error));
370 } else {
371 resolve(User.fromNative(user));
372 }
373 });
374 }
375 });
376 }
377
378 updateEmail(email: string): Promise<void> {
379 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected