[TIMOB-23809] iOS: Relative images paths are not relative to Resources dir, not current JS file
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 6.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Unknown |
Created | 2016-08-23T22:04:39.000+0000 |
Updated | 2018-08-31T22:05:31.000+0000 |
Description
TIMOB-7004 states there there is a bug in Android where relative images are not loading correctly, however it's the opposite. The images are loading in iOS when they should not be.
In TIMOB-7004 test case,
app.js
will require('ui/homeView.js')
which creates an ImageView with a relative path. On Android, an image path of commonimages/home-home.png
will try to load ui/commonimages/home-home.png
. On iOS, it appears to treat relative image paths as absolute paths, which is not correct.
Windows behaviour appears to match that of iOS, in that it will load the images. Windows 10 Pro Ti SDK:6.1.0.v20160823150730 Nokia Lumia 930 10.0 !http://puu.sh/qM0ZH/e0bcc7a1c9.jpg!