[TIMOB-23453] iOS: Warning "Hex color passed looks invalid: rgba()" thrown
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-05-30T01:47:19.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 5.4.0 |
| Components | iOS |
| Labels | qe-5.4.0 |
| Reporter | Hans Knöchel |
| Assignee | Hans Knöchel |
| Created | 2016-05-28T14:59:13.000+0000 |
| Updated | 2016-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.
PR: https://github.com/appcelerator/titanium_mobile/pull/8030
CR and FT passed. PR merged.
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*