Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2242] require() fails to load files with path containing 'iphone' or 'android'

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-03-21T18:06:19.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsdefect, ios
ReporterYoung
AssigneeDaniel Sefton
Created2012-11-13T05:55:37.000+0000
Updated2016-03-08T07:41:14.000+0000

Description

Moving from TC to AC project.

Comments

  1. Daniel Sefton 2013-03-21

    Hi Young, Referencing platform paths is not supported and should not be done. Titanium automatically chooses resources based on what platform you're building for. So if you have a file named "myimage.png" in the iPhone folder, if you pass "myimage.png" to a view, it will automatically select the resource from the iPhone folder. Closing as invalid.

JSON Source