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

Method fromNative

packages/firebase-core/index.ios.ts:36–43  ·  view source on GitHub ↗
(native: FIRApp)

Source from the content-addressed store, hash-verified

34 _nativeApp: FIRApp;
35
36 static fromNative(native: FIRApp) {
37 if (native instanceof FIRApp) {
38 const opts = new FirebaseOptions();
39 opts._nativeApp = native;
40 return opts;
41 }
42 return null;
43 }
44 get ios() {
45 return this.native;
46 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected