(auth?: Auth)
| 623 | _app: FirebaseApp; |
| 624 | |
| 625 | constructor(auth?: Auth) { |
| 626 | if (auth?.app) { |
| 627 | this._native = com.firebase.ui.auth.AuthUI.getInstance(auth.app.native); |
| 628 | this._auth = auth; |
| 629 | } else { |
| 630 | if (defaultUI) { |
| 631 | return defaultUI; |
| 632 | } |
| 633 | defaultUI = this; |
| 634 | this._native = com.firebase.ui.auth.AuthUI.getInstance(); |
| 635 | } |
| 636 | } |
| 637 | |
| 638 | static fromNative(ui: com.firebase.ui.auth.AuthUI) { |
| 639 | if (ui instanceof com.firebase.ui.auth.AuthUI) { |
nothing calls this directly
no test coverage detected