Manual invocation
Trigger Report view
In addition to detection of shake gesture or screenshot issue report view can be triggered programmatically from within your Cordova application:
Bugsee.showReportDialog();
Optionally you can pre-fill some fields (summary, description, severity, user will be able to modify them later.
// Bugsee.showReportDialog(summary, description, severity)
Bugsee.showReportDialog("Problem summary", "Further description", Bugsee.Severity.Medium);
Upload from code
User doesn't have to be involved, you can also generate and upload a report automatically from your code.
// Bugsee.assert(summary, description, severity)
Bugsee.upload("Problem summary", "Further description", Bugsee.Severity.Blocker);
Non-fatal exceptions
It is possible to report non-fatal exceptions from code. These reports will get combined similar to crashes, and you will be provided with statistics and a break down by unique devices, versions, etc.
try {
// Code, which can throw exception.
} catch(e) {
Bugsee.logException(e);
}