MCPcopy Index your code
hub / github.com/NativeScript/firebase / useEmulator

Method useEmulator

packages/firebase-storage/index.android.ts:592–594  ·  view source on GitHub ↗
(host: string, port: number)

Source from the content-addressed store, hash-verified

590 }
591
592 useEmulator(host: string, port: number) {
593 this.native.useEmulator(host === 'localhost' || host === '127.0.0.1' ? '10.0.2.2' : host, port);
594 }
595
596 ref(path?: string): Reference {
597 return Reference.fromNative(this.native.getReference(path || '/'));

Callers

nothing calls this directly

Calls 1

useEmulatorMethod · 0.65

Tested by

no test coverage detected