I have an app that stay in background, receiving periodical firebase messages (interval of 10 minutes).
Today if the message contains a certain value, it generates a notification that plays a sound.
IT RUNS OK.
I need to start a timer (lets say 15 minutes) that will be cleared/restarted with each message received, BUT that will start a notification if the time is lapsed, indicating that there is at least 1 message lost.
Thanks in advance.
Vidal
Today if the message contains a certain value, it generates a notification that plays a sound.
IT RUNS OK.
I need to start a timer (lets say 15 minutes) that will be cleared/restarted with each message received, BUT that will start a notification if the time is lapsed, indicating that there is at least 1 message lost.
Thanks in advance.
Vidal