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

Method fomNative

packages/firebase-auth/index.ios.ts:827–834  ·  view source on GitHub ↗
(credential: FIRPhoneAuthCredential)

Source from the content-addressed store, hash-verified

825 protected _native: FIRPhoneAuthCredential;
826
827 static fomNative(credential: FIRPhoneAuthCredential) {
828 if (credential instanceof FIRPhoneAuthCredential) {
829 const nativeCredential = new PhoneAuthCredential();
830 nativeCredential._native = credential;
831 return nativeCredential;
832 }
833 return null;
834 }
835
836 get native() {
837 return this._native;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected