[TIMOB-2585] Include paths for iphone and android are not based on the same starting point
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-10 |
Components | Android |
Labels | android, defect, enterprise, klist, release-1.7.0, reported-1.5.0, rplist |
Reporter | PaulT |
Assignee | Don Thorp |
Created | 2011-04-15T03:23:30.000+0000 |
Updated | 2011-04-17T01:59:31.000+0000 |
Description
This issue is making me nuts! :-)
I have broken my app into small, manageable pieces and link things together using Titanium.include and the 'url' property when creating a new window.
Both of these require a 'path' to a .js file. The trouble is, one platform seems to want it relative to the root and the other relative to where the file is being included from. The url property used to be the same (iphone vs android) until 1.5, but after I upgraded today I found that it had changed on android requiring me to fiddle the paths to get the app working again.
Can we please have it one way or the other on all platforms? I am trying to build a core of code that will work across all platforms and having to deal with varying path models is just making my code that much more complex.
Thanks.
Attachments
File | Date | Size |
---|---|---|
resources.zip | 2011-04-15T03:23:31.000+0000 | 118873 |