(app?: FirebaseApp)
| 961 | _native: com.google.firebase.auth.FirebaseAuth; |
| 962 | |
| 963 | constructor(app?: FirebaseApp) { |
| 964 | if (app?.native) { |
| 965 | this._native = com.google.firebase.auth.FirebaseAuth.getInstance(app.native); |
| 966 | } else { |
| 967 | if (defaultAuth) { |
| 968 | return defaultAuth; |
| 969 | } |
| 970 | defaultAuth = this; |
| 971 | } |
| 972 | } |
| 973 | |
| 974 | useEmulator(host: string, port: number) { |
| 975 | this.native.useEmulator(host === 'localhost' || host === '127.0.0.1' ? '10.0.2.2' : host, port); |
nothing calls this directly
no test coverage detected