[ALOY-849] Using different code file depending whether device or simulator is used
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2013-10-18T13:41:06.000+0000 |
| Affected Version/s | 2013 Sprint 20 |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | ios |
| Reporter | Markus |
| Assignee | Tony Lukasavage |
| Created | 2013-10-17T13:51:50.000+0000 |
| Updated | 2014-06-22T13:23:17.000+0000 |
Description
Issue: Executing different code file depending whether simulator or device is used
Reproduce issue:
1. Create a theme in config.js (example theme newsapp)
2. Create an app.js in ProjectName->themes->newsapp->assets->app.js
3. Run project on simulator will use app.js at path path ProjectName->Resources->iphone->app.js
Run app on device will use path ProjectName->Resources->app.js
This is a duplicate of TIMOB-14884. This is a platform issue, not an alloy one, and has already been resolved in the latest CI builds of Titanium. Look at the linked ticket for details.