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

Method getCurrentUser

apps/demo/src/plugin-demos/firebase-auth.ts:160–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 }
159
160 getCurrentUser() {
161 const auth = firebase().auth();
162 this._setCurrentUser(auth?.currentUser);
163 }
164
165 logOutUser() {
166 firebase().auth().signOut();

Callers 3

onAuthStateChangedMethod · 0.80
onIdTokenChangedMethod · 0.80
currentUserMethod · 0.80

Calls 3

_setCurrentUserMethod · 0.95
firebaseFunction · 0.90
authMethod · 0.80

Tested by

no test coverage detected