Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6052] After CLI 7.0.8.GA update, build sets theme=null in CFG.js, causing app to have no theme styles applied

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2018-12-10T17:34:04.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI
Labelsalloy, regression
ReporterAdam Fennell
AssigneeShak Hossain
Created2018-12-07T11:12:23.000+0000
Updated2018-12-10T17:34:04.000+0000

Description

As per title, tested using TiSDK 7.1.1.GA & 7.5.0.GA Theming worked prior to CLI 7.0.8.GA update, but not after. app\config.js: { "global": { "theme": "dark" }, "env:development": {}, "env:test": {}, "env:production": {}, "os:ios": {}, "os:android": {}, "dependencies": {} }

Attachments

FileDateSize
console logs.txt2018-12-10T10:41:33.000+0000809732

Comments

  1. Rakhi Mitro 2018-12-10

    Hello, Thanks for reporting this. Are you experiencing this problem on android emulator or device? It would be great if you can share the complete console logs which displays the issue.
  2. Adam Fennell 2018-12-10

    This happens on device. I've attached the console logs as a txt file.
  3. Rakhi Mitro 2018-12-10

    Hello, Check the logs. Did you refer this as an issue?
       
       compile F:\Appcelerator_Studio_Workspace\OneSurv\app --config theme=null,platform=android,version=0,simtype=none,devicefamily=none,deploytype=test,target=device --no-colors
       [DEBUG] :         .__  .__                
       [DEBUG] :  _____  |  | |  |   ____ ___.__.
       [DEBUG] :  \__  \ |  | |  |  /  _ <   |  |
       [DEBUG] :   / __ \|  |_|  |_(  <_> )___  |
       [DEBUG] :  (____  /____/____/\____// ____|
       [DEBUG] :       \/                 \/
       [DEBUG] :  Alloy 1.13.4 by Appcelerator. The MVC app framework for Titanium.
       [DEBUG] :  ----- CONFIGURATION -----
       [DEBUG] :  raw config = "theme=null,platform=android,version=0,simtype=none,devicefamily=none,deploytype=test,target=device"
       [DEBUG] :  theme = null
       [DEBUG] :  platform = android
       
  4. Adam Fennell 2018-12-10

    Rakhi I'm not sure I understand. Do you want me to check the logs? If so, where would I find them. When you say "Did you refer this as an issue?", I thought this is where we refer issues. Have I misunderstood your comment?
  5. Ewan Harris 2018-12-10

    [~anfen] this is a known issue that is fixed in ALOY-1638. We'l be rolling out a new CLI in due course to fix this. For now I would recommend to downgrade to 7.0.7
  6. Adam Fennell 2018-12-10

    Great. Could you tell me how to downgrade to 7.0.7 please? I've tried searching the online documentation, but I couldn't find anything.
  7. Ewan Harris 2018-12-10

    You can run appc use 7.0.7 in command prompt and it will select that version for you.
  8. Adam Fennell 2018-12-10

    The rollback worked, and the theming is working again. Thanks for your help.
  9. Ewan Harris 2018-12-10

    Closing as a dupe of ALOY-1638

JSON Source