Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Disabled crash reports for debug builds again
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed Mar 31, 2022
1 parent f5da9e5 commit ccbdee0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UWPX_UI_Context/Classes/AppCenterHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.AppCenter.Analytics;
using Microsoft.AppCenter.Crashes;
using System.Text;
#if !DEBUG || true
#if !DEBUG
using Microsoft.AppCenter;
using Storage.Classes;
#endif
Expand All @@ -16,7 +16,7 @@ public static class AppCenterHelper
{
//--------------------------------------------------------Attributes:-----------------------------------------------------------------\\
#region --Attributes--
#if !DEBUG || true
#if !DEBUG
private const string APP_CENTER_SECRET = "523e7039-f6cb-4bf1-9000-53277ed97c53";
#endif

Expand Down Expand Up @@ -68,7 +68,7 @@ public static void SetupAppCenter()
{
try
{
#if !DEBUG || true
#if !DEBUG
AppCenter.Start(APP_CENTER_SECRET, typeof(Crashes));
if (Settings.GetSettingBoolean(SettingsConsts.DISABLE_CRASH_REPORTING))
{
Expand Down

0 comments on commit ccbdee0

Please sign in to comment.