mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Disabled analytcs when in Debug mode
This commit is contained in:
@@ -36,6 +36,11 @@ namespace ZuneModdingHelper
|
||||
// Set up App Center analytics
|
||||
AppCenter.SetCountryCode(System.Globalization.RegionInfo.CurrentRegion.TwoLetterISORegionName);
|
||||
AppCenter.Start("24903c19-b3d9-4ab5-b445-b981ca647125", typeof(Analytics), typeof(Crashes));
|
||||
|
||||
#if DEBUG
|
||||
// Disable crash and event analytics when in debug
|
||||
AppCenter.SetEnabledAsync(false);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user