forked from bitstadium/QuincyKit
-
Notifications
You must be signed in to change notification settings - Fork 1
iOS Client API
TheRealKerni edited this page Mar 28, 2012
·
2 revisions
Property | Type / Default | Value |
---|---|---|
submissionURL |
NSString / nil / required | URL pointing to your server setup, e.g. http://yourserver.com/crash_v200.php |
appIdentifier |
NSString / nil | Defines the app identifier of the app when using the HockeyApp service |
delegate |
id / nil | the delegate instance responding to BWQuincyManagerDelegate protocol |
languageStyle |
NSString / nil | Set to another string which will be appended to the Quincy localization file name, “Alternate” is another provided text set |
showAlwaysButton |
BOOL / YES | the user will get the option to choose “Always” for sending crash reports. This will cause the dialog not to show the alert description text landscape mode! |
feedbackActivated |
BOOL / NO | The user will be presented with a status of the crash, if known |
autoSubmitCrashReport |
BOOL / NO | Submit the crash report without asking the user |
If you implement these delegate methods in your delegate, you can use these to react on networking events and more. All methods are optional.
// Return the userid the crashreport should contain, empty by default -(NSString *) crashReportUserID; // Return the contact value (e.g. email) the crashreport should contain, empty by default -(NSString *) crashReportContact; // Return the description the crashreport should contain, empty by default -(NSString *) crashReportDescription; // Invoked when the internet connection is started, to let the app enable the activity indicator. - (void)connectionOpened // Invoked when the internet connection is closed, to let the app disable the activity indicator. - (void)connectionClosed()