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

Method fromNative

packages/firebase-auth/index.android.ts:788–795  ·  view source on GitHub ↗
(credential: com.google.firebase.auth.OAuthCredential)

Source from the content-addressed store, hash-verified

786 protected _native: com.google.firebase.auth.OAuthCredential;
787
788 static fromNative(credential: com.google.firebase.auth.OAuthCredential) {
789 if (credential instanceof com.google.firebase.auth.OAuthCredential) {
790 const nativeCredential = new OAuthCredential();
791 nativeCredential._native = credential;
792 return nativeCredential;
793 }
794 return null;
795 }
796
797 get native() {
798 return this._native;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected