I am getting an unhandled exception (and crash) on this call, on a Tactix Delta, FW version 26.00
var showData=false; // defined as a global
:
:
$.showData=Application.Properties.getValue("ShDat");
var ma=new WatchUi.ToggleMenuItem("test item", "abc def", 4, $.showData, {} );
I can't figure out what it is complaining about.
Another thing that is happening on this watch is that the ShDat boolean <property> which was clearly initialized as false in the properties.xml starts off as true when the app first installed and loaded.
I also suspected that the ShDat property was null, so I tried adding code that set $.showData to false if a null was read, but that did not solve the problem.
The simulator, and other watch models (so far) don't exhibit this problem.