Skip to content

We are not getting Notification into HmsMessageService on onMessageReceived file in Android #3

@binitpatel

Description

@binitpatel

I am using your example send_notify_message.js file from HUAWEI Push Kit(NodeJs). I get a success message in NodeJs log.
{
code: '80000000',
msg: 'Success',
requestId: '160213898154027353000507'
}

I can see Notification appears at top of the mobile but somehow we are not able to see into our Android log.

Normally any notification comes it should be handled by HmsMessageService method onMessageReceived. Based on that we further take programmatic action.

But in Huawei Notification does not appear in HmsMessageService. Currently, we are not able to take any action.

We have also tried to send notification via HUAWEI Push Kit from app gallery. Then also it does not appear into HmsMessageService. It only shows on top of mobile but it is useless for us we can not take any programmatic action.

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