// Forces the app to crash for crashlytics debugging purposes public static void ForceCrash() { #if analytics // Only allow this function to be called whilst the app is in debug mode if (ProjectManager.IsDebugModeActive()) { ProjectManager.Log("[Analytics Debug] Forced a crash!"); Crashlytics.Crash(); } #endif }
static public void Crash() { Crashlytics.Crash(); }