Under Review
over 1 year ago

bug: boolean properties with default value true can't be changed in simulator

I am on Mac, CIQ 4.1.1. When I have a property with default value true it can't be changed in the simulator. To be more precise: I can seemingly edit and save it in App Settings Editor, but 

Application.Properties.getValue always returns true, no matter what the last setting value is (even though I see in the simulator's editor it's disabled)
  • I'ld like to urge this issue. Have feedback from users complaining change of properties for boolean values no longer working on real devices. Tried to find out root cause and tried to change boolean values via Garmin Connect Mobile, Connect IQ Store and Garmin Express (Windows). Also tried different approaches on Sim (Eclipse->Connect IQ->App Settings Editor vs. Device Simulator->Edit Persistent Storage->Edit Application.Properties Data). Did not find any rule, but it's instable. In the end I had currupt settings in App Settings Editor. In the end I went back to 4.0.10 and everything is ok again ... I decided remain on 4.0.10 until situation is clear, to avoid further confusion of users.

  • On windows, what I see is some booleans are saved, others aren't.  In one case, the 2nd boolean is saved, but the 1st and 3rd aren't.

    All are saved consistently if you use the app settings editor in eclipse.