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

Method useEmulator

packages/firebase-functions/index.android.ts:182–184  ·  view source on GitHub ↗
(host: string, port: number)

Source from the content-addressed store, hash-verified

180 }
181
182 useEmulator(host: string, port: number) {
183 this.native.useEmulator(host === 'localhost' || host === '127.0.0.1' ? '10.0.2.2' : host, port);
184 }
185
186 get native() {
187 return this._native;

Callers

nothing calls this directly

Calls 1

useEmulatorMethod · 0.65

Tested by

no test coverage detected