[TIMOB-24011] iOS: require fails to resolve paths like 'hyperloop/uikit/uilabel'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-10-12T16:30:16.000+0000 |
Affected Version/s | Release 6.0.0 |
Fix Version/s | Release 6.0.0 |
Components | iOS |
Labels | n/a |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2016-10-10T18:31:10.000+0000 |
Updated | 2018-08-06T17:49:37.000+0000 |
Description
With the new require behavior, some old "legacy"-style require paths that used to work no longer do. Specifically, if the path has no leading '/', './', or '../' and the first segment of the path is a native module id - but the resources/js file doesn't exist in that module.
This was particularly noticeable with hyperloop on 2.0.0 where we'd generate paths like 'hyperloop/uikit/uilabel', which actually resided in the user's app resources and not in the native hyperloop module itself.
Combined this fix with the fix for similar issue on Android. Should likely cherry-pick the two commits to 6_0_X if the PR is approved/merged. iOS 6.1.0/master PR: https://github.com/appcelerator/titanium_mobile/pull/8493
Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.