From 1b8bd494e288c2c5a406f1e2b291d329ce50a9ec Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 24 Apr 2017 16:04:54 -0400 Subject: [PATCH] disable GA exception reporting --- src/Android/Services/GoogleAnalyticsService.cs | 2 +- src/iOS.Core/Services/GoogleAnalyticsService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Android/Services/GoogleAnalyticsService.cs b/src/Android/Services/GoogleAnalyticsService.cs index 2552d5a20..06fd6bb84 100644 --- a/src/Android/Services/GoogleAnalyticsService.cs +++ b/src/Android/Services/GoogleAnalyticsService.cs @@ -26,7 +26,7 @@ namespace Bit.Android.Services _instance.SetLocalDispatchPeriod(10); _tracker = _instance.NewTracker("UA-81915606-2"); - _tracker.EnableExceptionReporting(true); + _tracker.EnableExceptionReporting(false); _tracker.EnableAdvertisingIdCollection(true); _tracker.EnableAutoActivityTracking(true); _tracker.SetClientId(appIdService.AnonymousAppId); diff --git a/src/iOS.Core/Services/GoogleAnalyticsService.cs b/src/iOS.Core/Services/GoogleAnalyticsService.cs index 3229b8381..874a2661a 100644 --- a/src/iOS.Core/Services/GoogleAnalyticsService.cs +++ b/src/iOS.Core/Services/GoogleAnalyticsService.cs @@ -18,7 +18,7 @@ namespace Bit.iOS.Core.Services _authService = authService; Gai.SharedInstance.DispatchInterval = 10; - Gai.SharedInstance.TrackUncaughtExceptions = true; + Gai.SharedInstance.TrackUncaughtExceptions = false; _tracker = Gai.SharedInstance.GetTracker("UA-81915606-1"); _tracker.SetAllowIdfaCollection(true); _tracker.Set(GaiConstants.ClientId, appIdService.AnonymousAppId);