MCPcopy Create free account
hub / github.com/NativeScript/firebase / fromNative

Method fromNative

packages/firebase-auth/index.android.ts:646–653  ·  view source on GitHub ↗
(credential: com.google.firebase.auth.AuthCredential)

Source from the content-addressed store, hash-verified

644 protected _native: com.google.firebase.auth.AuthCredential;
645
646 static fromNative(credential: com.google.firebase.auth.AuthCredential) {
647 if (credential instanceof com.google.firebase.auth.AuthCredential) {
648 const nativeCredential = new AuthCredential();
649 nativeCredential._native = credential;
650 return nativeCredential;
651 }
652 return null;
653 }
654
655 get native() {
656 return this._native;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected