Answer the question
In order to leave comments, you need to log in
Android: Push notifications when app is closed?
It is necessary to poll the server and send pushes to the client in case of new messages. (as it is implemented in messengers, for example).
All search results are displayed on a bunch of service and receiver, but when the application is closed, someone dies.
I'm not asking you to do it, please let me know what to use.
PS. The only option that got started was with foregroundService, but the constantly hanging message is not ice.
P.P.S. As far as I understand it is impossible to do without FCM at the current time?
Answer the question
In order to leave comments, you need to log in
Yes, you need to do it through FCM if you want stability and less problems.
Basically, that's what it's made for.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question