iOS Client for open source crash report service honeyqa
Available through CocoaPods.
pod 'HQAClient'
-
Initialize in didFinishLaunchingWithOptions (AppDelegate)
[HQAClient sharedControllerWithAPIKey:@"YOUR_API_Key"]
-
If Application crashed, HQAClient will send crash data to HoneyQA Server
-
Or, you can send exception information manually by using
[HQAClient logException:(NSException *)]
[HQAClient logException:(NSException *) withTag:@"Tag name"]
[HQAClient logException:(NSException *) withTag:@"Tag name" andErrorRank:(HQAErrorRank)]
-
If you using
leaveBreadcrumb
, you can track user pattern untill application crash or exception[HQAClient leaveBreadcrumb:(Integer : Linenumber)]
[HQAClient logException:(NSException *)]
[HQAClient logException:(NSException *)]
Please edit your .plist
file for send crash data to honeyqa server.
There are 2 options,
- add
Dictionary
namedNSAppTransportSecurity
- add
Boolean | Yes
NSAllowsArbitraryLoads
toNSAppTransportSecurity
- Or, add
Dictionary
namedNSExceptionDomains
toNSAppTransportSecurity
- then, add
Dictionary
namedapi3.honeyqa.io
toNSExceptionDomains
- then, add
- add
- Session
/api/ios/client/session
- Exception
/api/ios/client/exception
buildid
: Symbol UUIDhqaData
arch
: 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
The MIT License (MIT)
Copyright (c) urqa org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.