Answer the question
In order to leave comments, you need to log in
How to listen to push notifications coming to the phone through Receiver?
Hello, I'm trying to build an application that will collect certain push notifications, it turns out to be done through the Service and launching it through Foreground, but somehow the service still does not work stably, sometimes it falls off, and then I found out that android has receivers that register through the manifest in system, and they work regardless of whether the application is running, and I can’t figure out if I can listen to incoming push notifications through the receiver, and if so, how can I do it, it would be great if you could give a small example ... In advance thank.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question