A JavaScript value to output
List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Optional substitutions list
A JavaScript value to output
List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Optional substitutions list
Bugfender dashboard URL for the device
Bugfender dashboard URL for the current session
Show a modal which asks for feedback. Once the user closes the modal or sends the feedback the returned promise resolves with the result.
Bugfender.getUserFeedback().then((result) => {
if (result.isSent) {
// User sent the feedback
// `result.feedbackURL` contains the Bugfender feedback URL
} else {
// User closed the modal without sending the feedback
}
});
Options object to configure modal strings
Promise which resolves once the user closes the modal or sends the feedback
A JavaScript value to output
List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Optional substitutions list
Initialize Bugfender SDK
Before calling any other method the SDK must be initilized using this method.
Only after initialization the global error handler (registerErrorHandler
) and
window.console
overrides (overrideConsoleMethods
) will be available.
Options object. The only required property is appKey
.
A JavaScript value to output
List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Optional substitutions list
Remove a device associated key-value pair. Learn more.
Key identifier
Send a crash report.
Title
Text content
Bugfender dashboard URL for the crash.
Send an issue.
Title
Text content
Bugfender dashboard URL for the issue.
Send issue with content in markdown format.
Title
Content in markdown format
Bugfender dashboard URL for the issue.
Use this method if you need more control over the data sent while logging. See ILogEntry
interface reference to see all the accepted properties.
Log object that complies with ILogEntry
interface.
Send an user feedback.
Title/Subject
Feedback text in markdown format
Bugfender dashboard URL for the feedback.
Set a device associated key-value pair. Learn more.
Key identifier.
Value.
A JavaScript value to output
List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Optional substitutions list
A JavaScript value to output
List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Optional substitutions list
Generated using TypeDoc