I recently updated my app to send messages through FCM and it works great when the app is run on Jelly Bean. The problem is it doesn\'t in case it\'s
It sounds like you're missing wake-lock permission in your Manifest file
Ok, turns out Huawei has some power-saving features which cause that some apps won't be able to receive notifications, so it's not related to the Android version.
I couldn't find a way to fix this programmatically, but if anyone's interested, go to Settings / Protected apps and select the apps you want to allow to be run on the background, so they receive notifications.
More info here.
Go to settings app choose your app then make sure you tick Show Notification and Untick Restrict to Launch