I have this in the onUpdate(dc) function:
var AC = (Sys.getDeviceSettings() has :alarmCount ) ? true : false;
Sys.println ("AC:" + AC.toString());
var NC = (Sys.getDeviceSettings() has :notificationCount ) ? true : false;
Sys.println ("NC:" + NC.toString());
var PC = (Sys.getDeviceSettings() has :phoneConnected ) ? true : false;
Sys.println ("PC:" + PC.toString());
And it returns:
false
false
true
no matter the watch type selected in the simulator. On the watch itself, it doesn't work either (I have different code for that). I have tried various permissions, and configurations, but I am stuck.
Can someone throw me a rescue line here?
Thanks,
Steve