Skip to content

hms push plugin's background message handler doesn't handle messages when the app is in killed state when battery optimisation for the app is enabled. #374

@Dyachenko022

Description

@Dyachenko022

Not sure whether it is correct to submit that as an issue, since it's partly a question, in which case I apologise for the mistake.

I've noticed that background message handler fails to handle messages when the app is killed in case the battery optimisation for the app is enabled within the system settings (which it is by default). To clarify, I do have a WAKE_LOCK permission setup in my android manifest.

I was wondering if anybody had faced the similar issue, and if there's any way to bypass it, or if it's an expected system behaviour?

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