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

Method fromNative

packages/firebase-auth/index.android.ts:137–144  ·  view source on GitHub ↗
(user: com.google.firebase.auth.FirebaseUser)

Source from the content-addressed store, hash-verified

135 }
136
137 static fromNative(user: com.google.firebase.auth.FirebaseUser) {
138 if (user instanceof com.google.firebase.auth.FirebaseUser) {
139 const usr = new User();
140 usr._native = user;
141 return usr;
142 }
143 return null;
144 }
145
146 get displayName(): string {
147 return this.native?.getDisplayName?.();

Callers 15

metadataMethod · 0.45
providerDataMethod · 0.45
onErrorMethod · 0.45
onSuccessMethod · 0.45
toUserCredentialFunction · 0.45
credentialMethod · 0.45
credentialWithLinkMethod · 0.45
onVerificationFailedMethod · 0.45
credentialMethod · 0.45
credentialMethod · 0.45
credentialMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected