I'm currently a BugSense user, migrating to the new Splunk APIs. Here's what I'm trying to accomplish:
User relaunches the app after a crash.
The user is presented with "Hey, it looks like you just crashed, could you tell us about it?"
The user enters some information about it, and it gets sent to our server, with the BugSense URL that has the crash-report.
In the old BugSense APIs, we'd do something like this:
[BugSenseController setErrorNetworkOperationsCompletionBlock:^() {
if ([BugSenseController crashCount] == 1) { // a crash occurred on last run
long lastCrashID = [BugSenseController lastCrashId];
NSString *bugURL = [NSString stringWithFormat:@"https://www.bugsense.com/dashboard/project/%@/errors/%ld", myAPIKey, lastCrashID];
[self askUserForMoreInfoWithCrashURL:bugURL]; // ask user for more info.
[BugSenseController resetCrashCount]
}
}
If the user filled out the form, his input and the BugSense URL would get sent to our servers, and we could then bring up the crash-report at a later date.
I'm having trouble finding the definitive way to do this. I see some things which look like they might help ,but unsure how to proceed.
Thanks in advance for any help.
... View more