To do it in a simple way, you can use a Service, in this Service you can set a Listener on a ref in your firebase DB when the event is triggered you can create a notify and show it to the user. There certainly is. Just have your Android app write the notification request into the database .
Read moreHow do I check my Firebase notifications?
Send a test notification message
Read moreHow do I test FCM push notifications in Firebase?
Notifications composer
Read more