MCPcopy Index your code
hub / github.com/NativeScript/firebase / onAuthStateChanged

Method onAuthStateChanged

packages/firebase-auth/index.android.ts:1015–1017  ·  view source on GitHub ↗
(auth: com.google.firebase.auth.FirebaseAuth)

Source from the content-addressed store, hash-verified

1013 if (this.native && typeof listener === 'function') {
1014 const nativeListener = new com.google.firebase.auth.FirebaseAuth.AuthStateListener({
1015 onAuthStateChanged(auth: com.google.firebase.auth.FirebaseAuth) {
1016 listener(User.fromNative(auth.getCurrentUser()));
1017 },
1018 });
1019 this.native.addAuthStateListener(nativeListener);
1020 this._authStateChangeListeners.set(listener, nativeListener);

Callers

nothing calls this directly

Calls 2

getCurrentUserMethod · 0.80
fromNativeMethod · 0.45

Tested by

no test coverage detected