[ALOY-1105] Widget assets are not copied to the compiled app
|Affected Version/s||Alloy 1.5.0|
|Fix Version/s||Alloy 1.5.0|
|Assignee||Feon Sua Xin Miao|
DescriptionIn testing widgets, I've found that widget assets are not copied to the compiled app. Steps to reproduce: 1. Make sure you're using a 1.5.0 branch of Alloy 2. From the repo directory, run
jake app:run dir=ALOY\-898This sample app happens to use the loading widget, which contains a set of graphic assets. 3. When the app opens, click Open Window. You'll see messages in the console that the image assets cannot be found. 4. Copy the file path from one of those log messages. Open Finder and choose Go, Go to Folder. Paste in that path -- before you click Open, change the two instances of %20 to spaces in the path. 5. Right-click Harness.app and choose Show package contents. There should be an images/com.appcelerator.loading folder containing simlinks to a set of PNG assets. It's not there. 6. Change to Alloy 1.4.1 and repeat the preceding steps. The images will be there.
- Feon Sua Xin Miao 2014-08-05 PR: https://github.com/appcelerator/alloy/pull/501 Functional Test: 1. Follow the steps listed in the description 2. There should be no image not found error messages and the image files from widget should be copied to the compiled app The ticket exposes an issue on the fix done to ALOY-1002, reopening the ticket.
- Tim Poulsen 2014-08-11 PR merged
- Federico Casali 2014-09-12 Verified fixed on iPad iOS 8, Android 4.3 and Mobileweb. Sample code from https://github.com/appcelerator/titanium_mobile_tests_internal/tree/master/Alloy/JIRA/ALOY-1105 TiSDK 3.4.0.v20140911135715 Appcelerator Studio 220.127.116.11409111151 CLI 3.4.0-rc2 Alloy 1.5.0-rc Xcode6-beta7 Closing.