Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26704] LiveView: Transpilation does not work if not set in tiapp

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-01-09T18:44:02.000+0000
Affected Version/sRelease 8.0.0
Fix Version/sRelease 8.0.0, liveview 1.4.1
ComponentsLiveView
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2019-01-08T15:17:21.000+0000
Updated2019-01-11T11:48:04.000+0000

Description

Description

LiveView pulls whether it should transpile from the tiapp which was fine while it was opt-in (but it was still a bad thing), now it's opt-out the method needs to be updated.

Steps to reproduce

1. Run kitchensink-v2 with liveview and transpile removed from the tiapp to ios (you'll probably hit TIMOB-26649, just follow the workaround)

Actual

Error like below due to not transpiling
[ERROR] SyntaxError: Unexpected identifier 'ActionBarHelper'. import call expects exactly one argument.
[ERROR] File: app
[ERROR] Line: 12
[ERROR] SourceId: <null>
[ERROR] Backtrace:
[ERROR]  undefined

Expected

No error

Comments

  1. Ewan Harris 2019-01-08

    LiveView PR: https://github.com/appcelerator/liveview/pull/122
  2. Samir Mohammed 2019-01-11

    Closing ticket. Verified fix in SDK version: 8.1.0.v20190110171519 and SDK version: 8.0.0.v20190110110255. Note studio version 5.1.2.201812191857 was also used.

JSON Source