[TIMOB-27346] Android: Old grey splashscreen images still used
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | alloy, android, engSchedule, images, splash |
Reporter | Michael Gangolf |
Assignee | Eric Merriman |
Created | 2019-07-21T13:25:01.000+0000 |
Updated | 2019-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
File | Date | Size |
---|---|---|
Screenshot_20190721_152057.png | 2019-07-21T13:22:47.000+0000 | 176463 |
Hello! Hope you are doing fine today. Would you please test this on 8.1.0.GA and let us know the results?
yes, with 8.1.0.GA, appc 7.1.0, titanium 5.2.1 it still creates grey images in the folders above.
the file in that folder is a grey image and not a red one
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.
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.