iOS Client for open source crash report service honeyqa
Available through CocoaPods.
pod 'URQAClient'
Also, you should add use_frameworks! to Podfile
-
Initialize in didFinishLaunchingWithOptions (AppDelegate)
[URQAClient sharedControllerWithAPIKey:@"YOUR_API_Key"] -
If Application crashed, URQAClient will send crash data to HoneyQA Server
-
Or, you can send exception information manually by using
[URQAClient logException:(NSException *)][URQAClient logException:(NSException *) withTag:@"Tag name"][URQAClient logException:(NSException *) withTag:@"Tag name" andErrorRank:(URQAErrorRank)] -
If you using
leaveBreadcrumb, you can track user pattern untill application crash or exception[URQAClient leaveBreadcrumb:(Integer : Linenumber)][URQAClient logException:(NSException *)][URQAClient logException:(NSException *)]
Please edit your .plist file for send crash data to UrQA server.
There are 2 options,
- add
DictionarynamedNSAppTransportSecurity- add
Boolean | YesNSAllowsArbitraryLoadstoNSAppTransportSecurity - Or, add
DictionarynamedNSExceptionDomainstoNSAppTransportSecurity- then, add
Dictionarynamedapi3.honeyqa.iotoNSExceptionDomains
- then, add
- add
- Session
/api/ios/client/session
- Exception
/api/ios/client/exception
buildid: Symbol UUIDURQADataarch: ObjectosName: String- device OS name
codeType: String- architecture information
process: ObjectprocessPath: String- for extract Application name
register: Objectregister name:register value- String : String
thread: Array- Object
frame: Array- Object
imageName: StringbaseAddress: String- [!] when symbol information is not null, object will not contain
baseAddress
- [!] when symbol information is not null, object will not contain
symbolName: String- [!] when symbol information is null, object will not contain
symbolName
- [!] when symbol information is null, object will not contain
frameIndex: Stringoffset: String
- Object
isCrashed: String"1": crashed"0": not crashed
- Object