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

Method onIdTokenChanged

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

Source from the content-addressed store, hash-verified

1037 if (this.native && typeof listener === 'function') {
1038 const nativeListener = new com.google.firebase.auth.FirebaseAuth.IdTokenListener({
1039 onIdTokenChanged(auth: com.google.firebase.auth.FirebaseAuth) {
1040 listener(User.fromNative(auth.getCurrentUser()));
1041 },
1042 });
1043
1044 this.native.addIdTokenListener(nativeListener);

Callers

nothing calls this directly

Calls 2

getCurrentUserMethod · 0.80
fromNativeMethod · 0.45

Tested by

no test coverage detected