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);