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

Method useEmulator

packages/firebase-database/index.android.ts:649–651  ·  view source on GitHub ↗
(host: string, port: number)

Source from the content-addressed store, hash-verified

647 }
648
649 useEmulator(host: string, port: number) {
650 this.native.useEmulator(host === 'localhost' || host === '127.0.0.1' ? '10.0.2.2' : host, port);
651 }
652
653 _persistenceCacheSizeBytes = 10 * 1024 * 1024;
654 get persistenceCacheSizeBytes(): number {

Callers

nothing calls this directly

Calls 1

useEmulatorMethod · 0.65

Tested by

no test coverage detected