Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27436] Images that end in "-dark" are no longer working after updating to 8.2.x SDK on iOS

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionNot Our Bug
Resolution Date2020-04-10T21:00:05.000+0000
Affected Version/sRelease 8.2.0
Fix Version/sn/a
ComponentsiOS
LabelsengSchedule, griffin-app
ReporterBrenton House
AssigneeVijay Singh
Created2019-10-02T15:40:49.000+0000
Updated2020-04-10T21:10:44.000+0000

Description

On iOS, if you have images that end in "-dark", they are no longer working after updating to 8.2.x SDK. The SDK now believes that these are images for use with iOS Dark Mode.

Comments

  1. Hans Knöchel 2019-10-03

    Thats native iOS behavior. Users should rename their images or the CLI should detect files with "-dark" that don't have a base (light) file and throw an error on build time.
  2. Brenton House 2020-04-10

    Is this really the case for native iOS objective-c or swift development? Any images that end in "-dark" are automatically assumed to have been created for a "dark" mode? I thought this was a Titanium implementation that then assigned it iOS dark/light mode images.
  3. Brenton House 2020-04-10

    It seems that if you specify an image that ends in "-dark", such as "myimage-dark.png" it would look for "myimage-dark-dark.png" and "myimage-dark-light.png".

JSON Source