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

Method app

packages/firebase-ui/index.android.ts:655–664  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

653 }
654
655 get app(): FirebaseApp {
656 if (this._auth) {
657 return this._auth.app;
658 }
659 if (!this._app) {
660 // @ts-ignore
661 this._app = FirebaseApp.fromNative(this.native.getApp());
662 }
663 return this._app;
664 }
665
666 useEmulator(host: string, port: number) {
667 this.native.useEmulator(host === 'localhost' || host === '127.0.0.1' ? '10.0.2.2' : host, port);

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected