I am trying to use the new Storage module available in release 2.4 of CIQ. Since I am using the application across a range of devices I need to check if the feature is available.
If I use
if (Toybox.Application has :Storage)
then in the simulator it not only returns 'true' for 2.4 SDK but also for 2.3
if I use
if (Toybox.Application.Storage has :setValue)
Then it seems to have the correct result in the simulator but actually crashes a device still only supporting 2.3 SDK for example a Descent Mk1
What is the correct way to test if the new Storage features are available and can be used ?
Thanks very much for the prompt replies! I am going to have to get better at searching the forums since I could find the post you referenced Jim, thanks!
Has anyone tried the suggested work around on a device to be sure that it works before I publish another update that has problems ?