Skip to content

onMessageReceived not called when app killed for certain devices (data-only payload, Xiaomi, ASUS) #219

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions