Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23453] iOS: Warning "Hex color passed looks invalid: rgba()" thrown

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-05-30T01:47:19.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.4.0
ComponentsiOS
Labelsqe-5.4.0
ReporterHans Knöchel
AssigneeHans Knöchel
Created2016-05-28T14:59:13.000+0000
Updated2016-07-20T23:36:09.000+0000

Description

Since ever, iOS throws a warning message when using rgba() for color-values:
[WARN]  Hex color passed looks invalid: rgba(221,7,0,0.89)
While it is fully-supported, the color-utilities throw the warning because it fails validating it as a hex-color. To fix it, it needs to be ensured, that the color supplied to the hex-validation does not contain rgba.

Comments

  1. Hans Knöchel 2016-05-28

    PR: https://github.com/appcelerator/titanium_mobile/pull/8030
  2. Chee Kiat Ng 2016-05-30

    CR and FT passed. PR merged.
  3. Josh Longton 2016-07-20

    Verified as fixed. Tested on: iPhone 6 plus (9.1) iOS Simulator (9.3) 
Mac OSX El Capitan 10.11.6 Studio: 4.7.0.201607130543 
Ti SDK: 5.4.0.v20160720132422 
Xcode 7.3.1 
Appc NPM: 4.2.7 Appc CLI: 5.4.0-33 Node v4.4.4 *
Closing Ticket*

JSON Source