AppAmbit Crashes (MAUI)
AppAmbit Crashes automatically records a crash log whenever your application crashes. Initially, the log is saved to the device’s local storage. Once the app is reopened, the crash report is sent to AppAmbit, offering valuable insights to help diagnose and fix issues.
Generate a Test Crash
To simplify SDK testing, AppAmbit Crashes provides an API for generating a test crash.
Crashes.GenerateTestCrash();
Handled Errors
AppAmbit also supports tracking non-fatal errors by logging handled exceptions:
try {
} catch (Exception exception) {
var properties = new Dictionary<string,string>
{
{ "user_data_role", "admin" },
{ "battery_level", "90" }
};
Crashes.LogError(exception, properties);
}
Additionally, you can log custom error messages for better visibility during unexpected situations:
if(error == true)
Crashes.LogError("This code should not be reached");