Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27346] Android: Old grey splashscreen images still used

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsalloy, android, engSchedule, images, splash
ReporterMichael Gangolf
AssigneeEric Merriman
Created2019-07-21T13:25:01.000+0000
Updated2019-08-27T17:20:50.000+0000

Description

When creating a new app the /app/assets/android/ will contain old (grey) splashimages. The folders: res-land-hdpi res-land-ldpi res-land-mdpi res-land-xhdpi res-land-xxhdpi res-land-xxxhdpi res-long-land-hdpi res-long-land-ldpi res-long-land-mdpi res-long-port-hdpi res-long-port-ldpi res-notlong-land-hdpi res-notlong-land-ldpi res-notlong-land-mdpi res-notlong-port-hdpi res-notlong-port-ldpi res-notlong-port-mdpi res-port-hdpi res-port-ldpi res-port-mdpi res-port-xhdpi res-port-xxhdpi res-port-xxxhdpi !Screenshot_20190721_152057.png|thumbnail!
Operating System
  Name                        = Fedora
  Version                     = 30
  Architecture                = 64bit
  # CPUs                      = 12
  Memory                      = 15.3GB

Node.js
  Node.js Version             = 10.16.0
  npm Version                 = 6.9.0

Appcelerator CLI
  Installer                   = 4.2.13
  Core Package                = 7.0.12

Titanium CLI
  CLI Version                 = 5.1.1
  node-appc Version           = 0.2.44
Selected SDK 8.0.2.GA. The template folder https://github.com/appcelerator/titanium_mobile/tree/8_0_X/android/templates/app/default/template/Resources/android/images doesn't list the res-notlong/res-long folders that are containing the old grey image. And the main /app/assets/android/default.png is grey.

Attachments

FileDateSize
Screenshot_20190721_152057.png2019-07-21T13:22:47.000+0000176463

Comments

  1. Rakhi Mitro 2019-08-19

    Hello! Hope you are doing fine today. Would you please test this on 8.1.0.GA and let us know the results?
  2. Michael Gangolf 2019-08-19

    yes, with 8.1.0.GA, appc 7.1.0, titanium 5.2.1 it still creates grey images in the folders above.
       appc new -t titanium -n test --no-services
       #set application id - press enter
       cd test/app/assets/android/images/res-long-land-hdpi
       ls
       
    the file in that folder is a grey image and not a red one
  3. Sharif AbuDarda 2019-08-19

    Hello [~michael], I see the issue with SDK 8.1.0.GA. Those old folders are still created with gray splash images. [~jquick], Perhaps you could shed some light in here. Thanks.
  4. Joshua Quick 2019-08-19

    Thanks for bringing this to our attention [~michael]. The gray "default.png" images come from Alloy's project template here... https://github.com/appcelerator/alloy/tree/master/platforms/android/project/app/assets/android/images The red "default.png" images come from Titanium's classic app template here... https://github.com/appcelerator/titanium_mobile/tree/master/android/templates/app/default/template/Resources/android/images Alloy projects are supposed to use all gray splash images with the word "Alloy" in them. That is the intent. The issue is that the Classic "default.png" images are getting mixed into it. If I remember right, Alloy's project template gets copied over the Classic project template. So, the Alloy Android resource folder names need to match what we have on the Classic template side for it to overwrite properly.

JSON Source