Search in sources :

Example 6 with CrashlyticsNativeComponent

use of com.google.firebase.crashlytics.internal.CrashlyticsNativeComponent in project firebase-android-sdk by firebase.

the class CrashlyticsRegistrar method buildCrashlytics.

private FirebaseCrashlytics buildCrashlytics(ComponentContainer container) {
    FirebaseApp app = container.get(FirebaseApp.class);
    Deferred<CrashlyticsNativeComponent> nativeComponent = container.getDeferred(CrashlyticsNativeComponent.class);
    Deferred<AnalyticsConnector> analyticsConnector = container.getDeferred(AnalyticsConnector.class);
    FirebaseInstallationsApi firebaseInstallations = container.get(FirebaseInstallationsApi.class);
    return FirebaseCrashlytics.init(app, firebaseInstallations, nativeComponent, analyticsConnector);
}
Also used : FirebaseInstallationsApi(com.google.firebase.installations.FirebaseInstallationsApi) FirebaseApp(com.google.firebase.FirebaseApp) CrashlyticsNativeComponent(com.google.firebase.crashlytics.internal.CrashlyticsNativeComponent) AnalyticsConnector(com.google.firebase.analytics.connector.AnalyticsConnector)

Aggregations

CrashlyticsNativeComponent (com.google.firebase.crashlytics.internal.CrashlyticsNativeComponent)6 FirebaseApp (com.google.firebase.FirebaseApp)2 AnalyticsConnector (com.google.firebase.analytics.connector.AnalyticsConnector)2 Context (android.content.Context)1 MissingNativeComponent (com.google.firebase.crashlytics.internal.MissingNativeComponent)1 NativeSessionFileProvider (com.google.firebase.crashlytics.internal.NativeSessionFileProvider)1 Onboarding (com.google.firebase.crashlytics.internal.Onboarding)1 CrashlyticsCore (com.google.firebase.crashlytics.internal.common.CrashlyticsCore)1 DataCollectionArbiter (com.google.firebase.crashlytics.internal.common.DataCollectionArbiter)1 IdManager (com.google.firebase.crashlytics.internal.common.IdManager)1 LogFileManager (com.google.firebase.crashlytics.internal.metadata.LogFileManager)1 SettingsController (com.google.firebase.crashlytics.internal.settings.SettingsController)1 FirebaseInstanceIdInternal (com.google.firebase.iid.internal.FirebaseInstanceIdInternal)1 FirebaseInstallationsApi (com.google.firebase.installations.FirebaseInstallationsApi)1 File (java.io.File)1 TreeSet (java.util.TreeSet)1 ExecutorService (java.util.concurrent.ExecutorService)1 Mockito.anyString (org.mockito.Mockito.anyString)1