[MOD-2254] iOS: Upload crash reports to crash server
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-05-19T08:58:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | ACA 1.0.0 |
Components | ACA |
Labels | n/a |
Reporter | Chee Kiat Ng |
Assignee | Unknown |
Created | 2016-02-03T05:20:31.000+0000 |
Updated | 2018-08-06T17:49:19.000+0000 |
Description
Using KSCrash lib, we should replace our crittercism module and upload crash reports as analytic events to our own PEM crash server. here's a quick idea of what the JSON should look like:
id - random event id
sid - session of the app (if you can get it, otherwise no worries)
event - "crash.native"
ts - timestamp of the event
data.stack - this seems better than just "value"
mid - the device id, if you can get it
aguid - the app guid
platform - the platform of the app
app_version - the version of the app
and some references:
https://github.com/appcelerator/nodeable/blob/master/common-test/src/main/resources/crash_event.json
https://github.com/appcelerator/crash-analytics-server/blob/master/lib/consumer.js#L39-L55
This is .crash that is uploaded, and not the dSYM file. A separate ticket will be created on how to symbolicate the crash file. But for this case, we can deal with allowing the developer to download the relevant crash file from our dashboard, and symbolicate on their local machine.
Attachments
File | Date | Size |
---|---|---|
ios-unsymbolicated-sample-json.json | 2016-02-23T06:45:56.000+0000 | 38952 |
nodeServer.js | 2016-05-19T08:58:04.000+0000 | 776 |