[TIMOB-19467] Ti.App.iOS.SearchableItemAttributeSet.thumbnailURL is not working
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Resolved |
| Resolution | Cannot Reproduce |
| Resolution Date | 2017-10-25T21:55:49.000+0000 |
| Affected Version/s | Release 5.0.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Fokke Zandbergen |
| Assignee | Hans Knöchel |
| Created | 2015-09-04T12:48:13.000+0000 |
| Updated | 2017-10-25T21:55:49.000+0000 |
Description
The [thumbnailURL](https://appcelerator.github.io/appc-docs/latest/#!/api/Titanium.App.iOS.SearchableItemAttributeSet-property-thumbnailURL) property is not working as you can see when you use [~cng]'s [sample app](https://github.com/cheekiatng/Titanium-Search-Sample-App/blob/master/Resources/app.js#L73) and uncomment the
thumbnailData lines and use the same file paths for thumbnailURL.
The issue is that the property is handled like a (remote) URL, but instead it should be handled like a file-URL. The following should fix it (I need to setup the test-environment first):
Cannot reproduce the issue - the URL is indeed referenced correctly if a relative (local) file is provided. Blobs are not supposed to work as tried above.