Titanium.App.Properties.getInt not working as documented in 1.4.0 on Android

You must Login before you can answer or comment on any questions.

After upgrading to 1.4.0, I've found out that Ti.App.Properties.getInt('whatever',0) won't return 0 if property ``whatever'' doesn't exist, but null. This causes all types of java.lang.nullpointer.exception problems on Android and certainly clashes with what is documented. Is this expected behavior and the documentation out of date or a regression ?

1 Answer

This has been fixed in a recent build Thanos. You can grab a CI (Continuous Integration) build and instructions on how to use it here

Your Answer

Think you can help? Login to answer this question!