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

Method clearPersistence

packages/firebase-firestore/index.ios.ts:1377–1387  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1375 }
1376
1377 clearPersistence(): Promise<void> {
1378 return new Promise((resolve, reject) => {
1379 this.native.clearPersistenceWithCompletion((error) => {
1380 if (error) {
1381 reject(FirebaseError.fromNative(error));
1382 } else {
1383 resolve();
1384 }
1385 });
1386 });
1387 }
1388
1389 collectionGroup(collectionId: string): any {
1390 return Query.fromNative(this.native.collectionGroupWithID(collectionId));

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected