Receive Notification when app is not in background in Chinese Stock ROM(s)

I am using Firebase Messaging Service for receiving push notification in my app. My app receives notification whenever it is in background or foreground, but when I killed it from recent app list and not keeping app in background at all, notification not come.

I have enable all the settings for Auto Start Manually and it works for me but only for some time. I need some proper solution regarding this.

I have noticed that apps like whats app, gmail even some other apps receiving notification no matter of it is activated in background or not.

I have tried sending notification from Firebase console as well as advance rest client with all the combination of data, notification or data and notification payload but it does not work.

Devices in which I tested :

  • OPPO

  • VIVO


  • ASUS

Please help me in issue.