hms-react-native-plugin icon indicating copy to clipboard operation
hms-react-native-plugin copied to clipboard

Cannot receive notification for the real devices

Open mmjc29 opened this issue 1 year ago • 0 comments

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.

mmjc29 avatar Jun 07 '24 09:06 mmjc29