HI,
i'm playing around with CIQ, trying to push my watch to its limits...
I have a problem with var between app and BG.
So i write OS storage data to get it read in BG.
It works perfectly in simu, while on my watch (saw it thanks to -many- println ) the data is only get once, never the last data updated in the view.
(I have 2 differents URL in my BG for a webrequest, depending on time and others tricks)
I 'm making a getProperty in onTemporalEvent, not working. I put my getProperty in BG initialize(), idem.
So i put this in onStop() :
if ( Toybox.System has :ServiceDelegate ) {
Background.deleteTemporalEvent();
Background.registerForTemporalEvent(new Time.Duration(intervalWebRequest.toNumber() * 60));
}
and it seems to work.
I do not like this way of doing it,
so where am i missing something, does the BG as soon as starting fully disconnected from the OS (has its own copy of it??)
May it be some bug, is there no way to get updated data via OS, in the BG?
thanks for any help !