Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27112] iOS : No javascript trace on IOS for requiring an unavailable module

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-06-05T18:32:17.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.0.2
ComponentsiOS
Labelsn/a
ReporterLokesh Choudhary
AssigneeVijay Singh
Created2019-05-15T18:03:08.000+0000
Updated2019-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

FileDateSize
Screen Shot 2019-05-15 at 11.01.47 AM.png2019-05-15T18:02:19.000+0000230762

Comments

  1. Vijay Singh 2019-05-29

    PR(master) - https://github.com/appcelerator/titanium_mobile/pull/10921 PR(8_0_X) - https://github.com/appcelerator/titanium_mobile/pull/10883
  2. Keerthi Mahalingam 2019-05-31

    FR passed. Waiting on Jenkins.
  3. Keerthi Mahalingam 2019-06-05

    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
       

JSON Source