[ALOY-1085] Update Alloy templates
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-25T03:33:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.5.0 |
Components | Samples & Templates |
Labels | qe-manualtest, qe-testnotneeded, templates |
Reporter | Fokke Zandbergen |
Assignee | Tim Poulsen |
Created | 2014-07-15T14:48:09.000+0000 |
Updated | 2014-11-19T23:49:25.000+0000 |
Description
I've prepared a PR with some updates for the Alloy templates:
https://github.com/appcelerator/alloy/pull/480
Changes:
- Re-Organises platform files copied in by new-command to support the next two:
- Moves MarketPlaceArtwork.png to the project root folder to save APK size
- Adds iTunesConnect.png to the project root folder
- Adds iOS7 icons
- Adds iTunesArtwork@2x file (note: upscaled!)
- Optimised all assets, saving more then 1MB or 20%
Ideally the
iTunesArtwork@2x
file would be replaced since this one is scaled up.
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2014-08-19 at 2.49.39 PM.png | 2014-08-19T21:50:57.000+0000 | 113860 |
What still needs to be done is: * Create a new iTunesArtwork@2x using the original PSD to replace the upscaled I included * Fix the iPad splash screens to be the sizes Apple specifies instead of what is in the Titanium docs (compare *height* and *heightFix* in https://github.com/FokkeZB/TiCons-CLI/blob/master/lib/specs.js#L160 and beyond) * Fix the docs to give the right sizes
As well as: * Have *ti build* remove the iTunesArtwork(@2x) files when the target is *dist-appstore* as is advised by Apple: https://developer.apple.com/library/iOs/qa/qa1686/_index.html
Waiting on new splash screen assets from Tyrus ...
New PR https://github.com/appcelerator/alloy/pull/505 includes updated artwork, as well as the changes submitted in [~fokke]'s PR. Functional test: 1. Create a new project from the CLI, targeted at all platforms. 2. Build the app for each platform in turn (iOS, Android, MobileWeb, and BlackBerry) and observe the launch screen as the app opens. It should be correctly-sized, with the proper aspect ratio, showing the new artwork. 3. Close the app and observe it's icon. It should reflect the new artwork.
**APPROVED**
PR merged.
Android "drawable-xxxhdpi/appicon.png" included in the Alloy Repository, is not updated - see screenshot. Reopening.
Per Ingo, I've backed out the changes in graphics files, though the other changes of this ticket are still implemented. PR https://github.com/appcelerator/alloy/pull/522 Functional test: create a new Alloy project then examine the graphics: * In project root: iTunesConnect.png and MarketplaceArtwork.png - old images, but new location * app/assets/
alloy new
with Alloy 1.4.*APPROVED*
PR merged.
Verified fix on: Mac OSX 10.9.4 Appcelerator Studio, build: 3.4.0.201408270900 Titanium SDK build: 3.4.0.v20140826143313 Titanium CLI, build: 3.4.0-dev Alloy: 1.5.0-dev Opened the project directory in finder and checked each folder that contained any assets to verify they are the correct versions. There are no incorrect assets in the project. Closing ticket.