Open mmjc29 opened 3 months ago
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.
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.