Hello mates! How are You doing?
Since the new android 8.1 keeps killing my app when the phone is not active for a certain time ( still don't know how much minutes before he kills it). I need to use push notifications to inform the user that He has a job to do, since the app is already killed, this can be my solution for that, as far as I know push notifications can call the app to start again.
#if you do this the app is send into a stale mode. It does not receive a notification until the uer manually starts the app. This is how android works.
Do not kill apps. Let android decide when to kill a app (NOT using any tools).
Do not kill apps. Let android when to kill a app (NOT using any tools).[/QUOTE said:
That was the scenario that I described. I just let the app be, and go to sleep. WHen I woke up I sent a notification to the sleeping phone and don't get the notification. Until now, that I open the app manually again.
Well that's the behaviour I need, but does not work for me after a few hours of inactivity.
...
"There are also devices where even if the app is still just simply swiped away, even though it's not force closed, the device itself is preventing it from receiving messages. Others say that this can't be the case because apps like WhatsApp were able to do it. The reason I've learned so far for that is because the device manufacturers have whitelisted most of the well-known apps for it to be possible."
Hi Erel, but what about if I never killed the app, just let it run, android 8.1, stopped it after a feww minutes, or hours, still don't get it.
EDIT:But if I killed or STOP the app, the FCM would not sent the notification still?