Skip to main content

🥷 Silent crash reports

Sometimes you know something went wrong, but don't want to bother your users. In this case, you may want to send a silent crash report by calling the following method:

 Gleap.sendSilentCrashReport("Houston, we have a problem!", "LOW");

The SEVERITY can be set to LOW, MEDIUM, HIGH

Silent crash report with data exclusion

 Gleap.sendSilentCrashReportWithExcludeData("Houston, we have a problem!", "LOW", {
screenshot: true,
replays: true
});

The third parameter specifies the exclude data options. All options set to true, will be excluded from a silent crash report.

The full list of exclude data options is:

{
customData?: Boolean;
metaData?: Boolean;
attachments?: Boolean;
consoleLog?: Boolean;
networkLogs?: Boolean;
customEventLog?: Boolean;
screenshot?: Boolean;
replays?: Boolean;
}