Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clockface restarts?

ANSWERED

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

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
5 REPLIES 5

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.

Peter McLennan
Gondwana Software
Best Answer

Thanks a lot for the quick answer!

Best Answer
0 Votes

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 Answer
0 Votes
Best Answer

@JeComYep, those are what I was remembering. 🙂

Peter McLennan
Gondwana Software
Best Answer
0 Votes