[TIMOB-19112] Windows: Splash Screen not showing
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-07-07T15:31:13.000+0000 |
Affected Version/s | Release 4.1.0 |
Fix Version/s | Release 5.0.0 |
Components | Windows |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Christopher Williams |
Created | 2015-06-30T12:52:51.000+0000 |
Updated | 2015-09-03T16:31:29.000+0000 |
Description
The [sample app I made for the 4.1.0.GA](https://github.com/appcelerator-developer-relations/appc-sample-ti410) has icons and splash screens [at the same place](https://github.com/appcelerator-developer-relations/appc-sample-ti410/tree/master/app/assets/windows) and of the same sizes as [those in the default Alloy project](https://github.com/appcelerator/alloy/tree/master/platforms/windows/project/app/assets/windows). Still, the icon and splash screen showing in the emulator are the [defaults in the SDK](https://github.com/appcelerator/titanium_mobile_windows/tree/master/templates/build/Assets), as the screenshots show.
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2015-06-30 at 14.46.14.png | 2015-06-30T12:48:51.000+0000 | 13598 |
Screen Shot 2015-06-30 at 14.46.22.png | 2015-06-30T12:48:52.000+0000 | 30140 |
There's definitely a bug in the CLI, in that we copy Resources and Resources/windows over and _then_ copy the template from the SDK over top of that, so the template logos win. But I should also note that the splash screen still may not be overridden on phone with a fix (I don't think) - due to our use of a SplashScreen.scale-240.png. I believe SplashScreen.png is used for Windows Store (desktop/tablet) apps (and is centered on top of a chosen background color, which we've hard-coded into the app manifest template for now). The SplashScreen.scale-240.png would be used for a phone. (they're different dimensions, and as the name suggests, you can include different versions for different screen sizes/DPI). I think there's a bit of work around branding overall we'll need to do so users can set the splash background for store apps, set different splash screen images for phone/store with various scales, different tile logos (again with different sizes for when user chooses to make them take up more than single tile space).
Well, give me a list of the new load of icon/splash sizes and I'll add them to TiCons ;) They all should really look into supporting vector icons.
Verified using: Windows 8.1 Appc CLI Core: 5.0.0-33 Appc CLI NPM: 4.2.0-1 Titanium SDK: 5.0.0.v20150902095518 Nokia Lumia 930 8.1 [appc-sample-ti410](https://github.com/appcelerator-developer-relations/appc-sample-ti410) When using the ti410 sample app the specified splash screen and app icon are now used Closing ticket