Skip to content

re: Angular 8 + Firebase Cloud Messaging Push Notifications VIEW POST


Good morning, thanks for the tutorial, it has helped me a lot in my project, however I have a question, how can I get to "get" the response of the firebase service from any page?

What happens is that my project has several pages, even though I declare the objects in the "AppComponent" as it is in your example, when I pass to another screen the service response is stopped "listening".

How could I solve this so that I am always "listening" to the service from any page of my project?

code of conduct - report abuse