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

Method apps

packages/firebase-core/index.android.ts:162–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 }
161
162 get apps() {
163 const apps = [];
164 const nativeApps = com.google.firebase.FirebaseApp.getApps(Utils.android.getApplicationContext());
165 const count = nativeApps.size();
166 for (let i = 0; i < count; i++) {
167 const nativeApp = nativeApps.get(i);
168 const app = new FirebaseApp();
169 app._native = nativeApp;
170 apps.push(app);
171 }
172 return apps;
173 }
174}
175
176let lastActivity: WeakRef<androidx.appcompat.app.AppCompatActivity>;

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
pushMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected