I'm developing a clockface for the Ionic, in which I can change the appearance during runtime.
Now I noticed that, when I start another app and return to the clockface, the clockface shows the start up appearance again.
So it seems that the clockface will be restarted everytime when you return to it. Is this correct, or do I do something wrong?
Capitano
Answered! Go to the Best Answer.
Both. 🙂
Yes, the clockface restarts, meaning that any data stored in variables will be lost.
Yes, you need to save your customised appearance settings using the filesystem before they're lost (eg, whenever they're changed), and then reload them when your clockface restarts. There's a couple of threads about that somewhere, including sample code.
Both. 🙂
Yes, the clockface restarts, meaning that any data stored in variables will be lost.
Yes, you need to save your customised appearance settings using the filesystem before they're lost (eg, whenever they're changed), and then reload them when your clockface restarts. There's a couple of threads about that somewhere, including sample code.
Hi, I've been having the same issue. I tried searching for a solution on the forum but I haven't been able to find a related thread. Could you possibly link to one/some of them please?
Best AnswerOk, I searched some more and found a few pieces of helpful code I'm going to try out. I searched for "save settings" and these came up: