Description
Following on from TIMOB-24838, all Ti.App.Properties.get* functions should be able to return null,
console.log(JSON.stringify(Ti.App.Properties.getList('UserList', null)));
console.log(JSON.stringify(Ti.App.Properties.getObject('UserObj', null)));
console.log(JSON.stringify(Ti.App.Properties.getString('UserObj', null)));
console.log(JSON.stringify(Ti.App.Properties.getBool('UserObj', null)));
console.log(JSON.stringify(Ti.App.Properties.getInt('UserObj', null)));
console.log(JSON.stringify(Ti.App.Properties.getDouble('UserObj', null)));
[INFO] null
[INFO] null
[INFO] null
[INFO] null
[INFO] null
[INFO] null
[INFO] null
[INFO] null
[INFO] null
[INFO] false
[INFO] 0
[INFO] 0
Steps to reproduce
Add the above code to an existing app.js and build for Windows
Actual
Output is as shown under the Windows header above
Expected
Output should match Android and iOS
https://github.com/appcelerator/titanium_mobile_windows/pull/1061
[~kiguchi] Master is merged. Waiting for 6_2_X.
Merged to 6_2_X. https://github.com/appcelerator/titanium_mobile_windows/pull/1074
Verified fix in SDK Version 7.0.0.v20170815065413 and SDK Version: 6.2.0.v20170815130745 Test and other information can be found at: Master: https://github.com/appcelerator/titanium_mobile_windows/pull/1061 6_2_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1074