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

Method delete

packages/firebase-installations/index.ios.ts:32–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31 }
32 delete(): Promise<void> {
33 return new Promise((resolve, reject) => {
34 this.native.deleteWithCompletion((error) => {
35 if (error) {
36 reject(FirebaseError.fromNative(error));
37 } else {
38 resolve();
39 }
40 });
41 });
42 }
43 getId(): Promise<string> {
44 return new Promise((resolve, reject) => {
45 this.native.installationIDWithCompletion((id, error) => {

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected