use of com.google.firebase.crashlytics.internal.report.ReportUploader in project GreenHouse by utsanjan.
the class CrashlyticsController method defaultReportUploader.
private ReportUploader.Provider defaultReportUploader() {
return new // from class: com.google.firebase.crashlytics.internal.common.CrashlyticsController.9
ReportUploader.Provider() {
// com.google.firebase.crashlytics.internal.report.ReportUploader.Provider
@Override
public ReportUploader createReportUploader(AppSettingsData appSettingsData) {
String reportsUrl = appSettingsData.reportsUrl;
String ndkReportsUrl = appSettingsData.ndkReportsUrl;
String organizationId = appSettingsData.organizationId;
CreateReportSpiCall call = CrashlyticsController.this.getCreateReportSpiCall(reportsUrl, ndkReportsUrl);
return new ReportUploader(organizationId, CrashlyticsController.this.appData.googleAppId, DataTransportState.getState(appSettingsData), CrashlyticsController.this.reportManager, call, CrashlyticsController.this.handlingExceptionCheck);
}
};
}
use of com.google.firebase.crashlytics.internal.report.ReportUploader in project GreenHouse by utsanjan.
the class CrashlyticsController method sendSessionReports.
/* JADX INFO: Access modifiers changed from: private */
public void sendSessionReports(AppSettingsData appSettings, boolean dataCollectionToken) throws Exception {
File[] listCompleteSessionFiles;
Context context = getContext();
ReportUploader reportUploader = this.reportUploaderProvider.createReportUploader(appSettings);
for (File finishedSessionFile : listCompleteSessionFiles()) {
appendOrganizationIdToSessionFile(appSettings.organizationId, finishedSessionFile);
Report report = new SessionReport(finishedSessionFile, SEND_AT_CRASHTIME_HEADER);
this.backgroundWorker.submit(new SendReportRunnable(context, report, reportUploader, dataCollectionToken));
}
}
Aggregations