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

Method useEmulator

packages/firebase-firestore/index.android.ts:1524–1526  ·  view source on GitHub ↗
(host: string, port: number)

Source from the content-addressed store, hash-verified

1522 }
1523
1524 useEmulator(host: string, port: number) {
1525 this.native.useEmulator(host === 'localhost' || host === '127.0.0.1' ? '10.0.2.2' : host, port);
1526 }
1527
1528 static fromNative(store: com.google.firebase.firestore.FirebaseFirestore) {
1529 if (store instanceof com.google.firebase.firestore.FirebaseFirestore) {

Callers

nothing calls this directly

Calls 1

useEmulatorMethod · 0.65

Tested by

no test coverage detected