Titanium JIRA Archive
Alloy (ALOY)

[ALOY-849] Using different code file depending whether device or simulator is used

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2013-10-18T13:41:06.000+0000
Affected Version/s2013 Sprint 20
Fix Version/sn/a
Componentsn/a
Labelsios
ReporterMarkus
AssigneeTony Lukasavage
Created2013-10-17T13:51:50.000+0000
Updated2014-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

Comments

  1. Tony Lukasavage 2013-10-18

    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.

JSON Source