Currently I have a service, that adds all the change listeners to the realtime database (onChildAdded, onChildChanged etc.), which is started on boot. But when I start my app and then exit it and remove it from the recent apps screen, android kills it and I don't receive any database changes anymore. So I can't fire any notifications anymore, to notify the user, that there is some new data in the database.
Is there a way to do this without creating a permanent notification, which prevents android from killing the service?