I have a need and I have already searched a lot, but I still have not figured out how to do it, I have a base in google firebase-database that is updated every 10 minutes when new information arrives in firebase realtime modifies the forms in app in milliseconds, but when the app is closed I do not know that there was modification. I need when there is a modification in the firebase the app receives this data that uploads the notification to the users. I searched for several sites and videos and no one worked with Broadcast and firebase, but I believe there is something, I also checked the possibility of using the services function of android, but the same should be triggered by the application and this would be impossible since it is closed.
Someone could help me