Skip to content

Cannot receive notification for the real devices #336

Open
@mmjc29

Description

@mmjc29

Hi

I am developing a react native android app.
I successfully add the Push kit to my android app.

And I can get the token by HmsPushInstanceId.getToken()

For the sever side
I can generate a valid oAuth Token by
https://oauth-login.cloud.huawei.com/oauth2/v3/token
And I send a test push message by
https://push-api.cloud.huawei.com/v1/[id]/messages:send
and the response

{ "code": "80000000", "msg": "Success", "requestId": "171772665701123932002706" }

But all my real device cannot receive any notifcation

But It is work on the cloud debugging emulator.

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