Exemplo n.º 1
0
    // 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
    }
Exemplo n.º 2
0
 static public void Crash()
 {
     Crashlytics.Crash();
 }