The problem I try to solve is that usually I used an asp script to check for DB changes, and if someone has a job to do, according to the DB value, I send it a notification to that phone, but, since android 8.1 kills the app after a while if the phone is not active, I try to resolve this with firebase notifications for the specific user that has changed his state en in DB. I don't know if this would work, since the app it's not running anyways. I probably need to write a script that check the DB changes in the server and then try to send the notification to the users that had changed their job state.