()
| 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); |
nothing calls this directly
no test coverage detected