[TIMOB-27112] iOS : No javascript trace on IOS for requiring an unavailable module
| GitHub Issue | n/a |
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2019-06-05T18:32:17.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 8.0.2 |
| Components | iOS |
| Labels | n/a |
| Reporter | Lokesh Choudhary |
| Assignee | Vijay Singh |
| Created | 2019-05-15T18:03:08.000+0000 |
| Updated | 2019-06-05T18:32:17.000+0000 |
Description
Steps to reproduce:
1. In the app.js use require('zzzz').
2. Build it for IOS device/simulator.
3. The app will throw error/exception.
4. Go to the dashboard & check if you get the crash/exception logs from ACA.
Actual results:
1. We do not see any javascript trace just native Objective C:
Please refer the attached screenshot.
Expected result:
1. Javascript stack trace should be shown.
Attachments
PR(master) - https://github.com/appcelerator/titanium_mobile/pull/10921 PR(8_0_X) - https://github.com/appcelerator/titanium_mobile/pull/10883
FR passed. Waiting on Jenkins.
Verified the Fix on SDK 8.2.0.v20190605080023,8.1.0.v20190605095601 and 8.0.2.v20190605070127. Javascript trace is showing correctly. *Test Environment:*
Name = Mac OS X Version = 10.13.6 Architecture = 64bit Node.js Node.js Version = 8.9.1 npm Version = 5.5.1 Titanium CLI CLI Version = 5.1.1 Titanium SDK SDK Version = 8.2.0.v20190605080023,8.1.0.v20190605095601 and 8.0.2.v20190605070127 Cli =7.0.11 Device =iphone 6s plus ios 12 Simulator =iphone xs max ios 12