[ALOY-246] Platform-specific alloy files
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | Medium |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2012-09-17T16:31:21.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2012 Sprint 19, Release 3.0.0 |
| Components | XML |
| Labels | n/a |
| Reporter | Tony Lukasavage |
| Assignee | Unknown |
| Created | 2012-09-11T15:18:20.000+0000 |
| Updated | 2018-03-07T22:25:42.000+0000 |
Description
Alloy developers to specify platform-specific alloy files, like views, controllers, and styles. The platform-specific files will be located in directories within the alloy structure. For example, a ios-specific view and an android-specific controller would be done like this:
* app
** controllers
*** android
**** index.js
*** index.js
** views
*** ios
**** index.xml
*** index.xml
Alloy will use compile-time knowledge of the build to determine which files will be used.
added plaform-specific folders and "platform_folders" test app