[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 Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2018-12-10T17:34:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI |
Labels | alloy, regression |
Reporter | Adam Fennell |
Assignee | Shak Hossain |
Created | 2018-12-07T11:12:23.000+0000 |
Updated | 2018-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
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.
This happens on device. I've attached the console logs as a txt file.
Hello, Check the logs. Did you refer this as an issue?
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?
[~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
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.
You can run
appc use 7.0.7
in command prompt and it will select that version for you.The rollback worked, and the theming is working again. Thanks for your help.
Closing as a dupe of ALOY-1638