-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onMessageReceived not called when app killed for certain devices (data-only payload, Xiaomi, ASUS) #219
Comments
It's been trending topics about Firebase Cloud Messaging that Data Payload message is not fired onMessageReceived() method for some lower end device. And it's true. Here is the result.
**Devices got payload:: 1. Nexus 5s : OS 7.1 Device not get payload:: 1. Xiomi MI 4c: OS 5.1 2. Huawei LUA -U22 :OS 5.1** Ensure that i'm not sending notification key from server / postman. I am looking for the solution, i got data payload from firebase including all types of devices and Android OS & obviously From API level 15. My postman details are as follows.
|
I have the same problem on Meizu m1 note android 5.1. When the application is backgroung or active - the data-only payload pushes come. |
Please have you solved this issue? |
I am sending a data-only packet to my firebase client, and onMessageReceived is not getting called for a certain set of devices (Android > 5.0). I am assuming the problem could be because of auto start added in these latest version, so I have implemented a BOOT receiver to rectify that as well. But, the method onMessageReceived is still not getting triggered when the app is killed. This is happening for Xiaomi Mi, ASUS.
I am looking for a solution add my app in auto-start by default.
The text was updated successfully, but these errors were encountered: