So, I need to change a text for notification every hour. Just for example:
10AM: "Hi there!"
11AM: "Hello, I'm here"
Although I think it's better to check here when the user woke up and picked up the phone. I know that such is in the application SHealth, which understands when the user goes to bed due to the fact that he does not take the phone for a long time, but how this "feature" is realized, I do not know. But, if you know how to do that, then just tell me, plz.