Description
*This is a regression from 6_1_X*
Setting an image on an imageview crashes the app, there are no error logs generated. It occurs when using a blob, file or string, and setting on creation, directly setting the property calling the setter
var window = Ti.UI.createWindow({ backgroundColor: 'black' });
var fromFile = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'Logo.png');
var imageView = Ti.UI.createImageView({
image: fromFile
});
window.add(imageView);
window.open()
Steps to reproduce
Add the above to an existing app.js
Build for Windows
Actual
App will crash on start
Expected
App should not crash, the default Titanium app logo should show
This issue is addressed by https://github.com/appcelerator/titanium_mobile_windows/pull/1036
Verified in 6.2.0.v20170823163641