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

Method fromNative

packages/firebase-core/index.android.ts:129–136  ·  view source on GitHub ↗
(app: com.google.firebase.FirebaseApp)

Source from the content-addressed store, hash-verified

127 _options: FirebaseOptions;
128
129 static fromNative(app: com.google.firebase.FirebaseApp) {
130 if (app instanceof com.google.firebase.FirebaseApp) {
131 const fb = new FirebaseApp();
132 fb._native = app;
133 return fb;
134 }
135 return null;
136 }
137
138 get native() {
139 return this._native;

Callers 4

optionsMethod · 0.45
appMethod · 0.45
initializeAppMethod · 0.45
initializeAppWithPathMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected