Skip to content
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

Cannot receive notification for the real devices #336

Open
mmjc29 opened this issue Jun 7, 2024 · 0 comments
Open

Cannot receive notification for the real devices #336

mmjc29 opened this issue Jun 7, 2024 · 0 comments

Comments

@mmjc29
Copy link

mmjc29 commented Jun 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant