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

Method fromNative

packages/firebase-firestore/index.ios.ts:1356–1363  ·  view source on GitHub ↗
(store: FIRFirestore)

Source from the content-addressed store, hash-verified

1354 }
1355
1356 static fromNative(store: FIRFirestore) {
1357 if (store instanceof FIRFirestore) {
1358 const firestore = new Firestore();
1359 firestore._native = store;
1360 return firestore;
1361 }
1362 return null;
1363 }
1364
1365 useEmulator(host: string, port: number) {
1366 this.native.useEmulatorWithHostPort(host, port);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected