Bugfender lets you locate a device and look at its logs, but sometimes you will want to check certain logs coming from a different context, like your backend logs, your help desk system or an issue tracker. Bugfender provides URLs to directly access the relevant screen on the Dashboard.
Device URL
The device URL brings you to the logs of a certain device:
Bugfender.deviceIdentifierUrl();
Calling this method on a device will give you always the same URL, as long as the application stays installed on that device.
Session URL
The session URL also brings you to the logs of a certain device, but more specifically to the logs generated during the current execution of the application:
Bugfender.sessionIdentifierUrl();
Calling this method on a device during the same execution of the app will always give you the same URL. When the application dies (for example, the operating system stopped it because it was in background), a new session URL will be generated.
Crashes, Issues and User Feedback
When sending crashes, issues or user feedback, the functions will also return a URL that you can send to your third-party tools, like an issue tracker or a help desk system.
// send an issue and get a URL for it
let issueUrl = Bugfender.sendIssueReturningUrl(...)
// send a crash and get a URL for it
let crashUrl = Bugfender.sendCrash(...)
// send user feedback and get a URL for it
let feedbackUrl = Bugfender.sendUserFeedbackReturningUrl(...)
// get feedback with the UI and get a URL for it
Bugfender.userFeedbackViewController(...) { (feedbackSent, url) in
if (feedbackSent) {
// Say thanks!
// url is a direct link to the dashboard
// Use it to create automations or send it to your server
} else {
// User decided to not send feedback
}
}