Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27632] API: Review uncaughtException event property parity

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-01-13T11:38:27.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.0.0
ComponentsAndroid, iOS
LabelsengSchedule
ReporterChristopher Williams
AssigneeGary Mathews
Created2019-11-26T18:27:26.000+0000
Updated2020-01-13T11:38:27.000+0000

Description

Raised in this PR discussion: https://github.com/appcelerator/titanium_mobile/pull/11352#discussion_r349168870 We should at least get the deprecations in for 9.0.0. Android has: - javascriptStack, which is a String and contains the javascript stack trace - javaStack, which is a String and contains the Java stack trace - lineOffset, which is a Number and basically is the column iOS has: - column which looks equivalent to Android's lineOffset - stack, which is a String and contains the javascript stack trace - nativeStack, which is a String and contains the Obj-c stack trace There's a property documented as {{backtrace} which I don't think any platform provides. We should standardize on stack for the JS stack trace, mark backtrace removed (when?), mark javascriptStack deprecated. Same idea for standardizing on nativeStack over javaStack (probably deprecate javaStack to be removed in the future like SDK 10?)

Comments

  1. Gary Mathews 2019-12-10

    master: https://github.com/appcelerator/titanium_mobile/pull/11388
  2. Lokesh Choudhary 2020-01-07

    FR Passed. Waiting for Jenkins to merge.
  3. Lokesh Choudhary 2020-01-07

    PR Merged.
  4. Samir Mohammed 2020-01-13

    *Closing ticket.* Fix verified in SDK version 9.0.0.v20200110103446 Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/11388

JSON Source