Questions tagged [huawei-push-notification]

Use this tag for programming questions relating to HUAWEI push kit. It is one of the services provided by HUAWEI HMS Core for developers. HUAWEI Push Kit is a messaging service provided for developers. It establishes a messaging channel from the cloud to devices.

97 questions
1
vote
1 answer

My phone cannot receive any message after calling the HMS Push Kit server API. The SDK version is 4.0.3.300

I'm using Huawei's Push Kit to push messages to Huawei devices, and the SDK version is 4.0.3.300. I can obtain the token correctly, so I start to use Postman to call the Push Kit server API for pushing messages. The returned message body shows…
0
votes
0 answers

How to Enable push kit on Huawei device and build aab files and upload to app gallery?

My app is using angular and ionic to build a android app. I have upload my app into huawei app gallery, the app include push kit. When I build the apk file and run it on huawei mobile, the push kit function is works. Then I build aab files and…
0
votes
1 answer

Huawei Push Kit in release variant doesn't work

I'm trying to integrate huawei push kit to my application for notification, the problem is that it works on debug build variant but don't in release. When it tries to retrieve token, i get error code: -5. Did someone was able to test notification…
0
votes
0 answers

Implement BrazeHuaweiPushHandler method with braze

Im trying to implement hauwei-braze into my react native app. But when I implement the code I get the following error. CustomService.java import com.braze.Braze; import com.braze.push.BrazeHuaweiPushHandler; import…
0
votes
0 answers

How to send payload from c# in pushkit notification?

In firebase Or in any third party it's easy to send paylod for notification alert in Android and ios, but how can i send Or whats the role of backend in pushkit notification. I try to implement in asp dot net mvc but there is no any reference, so…
0
votes
3 answers

GetTokenTask receive a empty token, please check HmsMessageService.onNewToken receive result

My word game published at Huawei AppGallery uses Account and Push Kits: implementation 'com.huawei.hms:hwid:6.4.0.300' implementation 'com.huawei.hms:push:6.3.0.302' The Account Kit works well and I am able to obtain the open id and display name of…
0
votes
1 answer

Flutter app isn't sound with Huawei Push Kit

im integrating huawei Services in my app in flutter, and integrating for the backend I'm using this json to send the push notification { "validate_only": false, "message": { "data": "{params:{notificationType: Test,…
0
votes
1 answer

Getting Error while obtaining an access token in HMS Push Kit API

When I use this api to get access token: https://oauth-login.cloud.huawei.com/oauth2/v3/token?grant_type=client_credentials&client_id=****&client_secret=**** it always returns { "sub_error": 20001, "error_description": "missing required…
0
votes
0 answers

Onesignal notification api stopped sending when added Huawei

I have php api for Onesingal notifications to send notification to users when I approve post on my app, it was working perfectly until I added new platform on Onesingal Dashboard which is Huawei, then when I tried to send notification from the app…
0
votes
2 answers

Server certificate change issue for Huawei PushKit Uplink message

Currently, if you want to apply "Uplink message sending" for your apps in Huawei PushKit, you must provide a Url and it's Https certificate If the certificate gets expired or changed, an update is needed for the uplink to keep working. However, the…
Mahdi-Malv
  • 16,677
  • 10
  • 70
  • 117
0
votes
2 answers

Huawei push API throws error saying token count is wrong in postman

Using push API continuously returns token count should within 1 and 1,000. Please find the API error in the screenshot.
0
votes
1 answer

Using apiKey for huawei push notfications

i configured apiKey in huawei console for PushKit and i want send push from web app to my android app, so i prepared following CURL: problem is postman still return {"error":"400 Bad Request, body is empty"} when i'm trying to call url from any…
Paweł
  • 205
  • 2
  • 11
0
votes
1 answer

What Can I Do When the Message "miss client id" Is Displayed During AppGallery Connect Service Integration?

When I referred to official documentation of AppGallery Connect for APM integration and packaged and run the app, an error message was displayed in the run log: I/com.huawei.agc.apms: failed to fetch remote config: client token request miss client…
0
votes
1 answer

The style of component A cannot be dynamically modified in the text component. How can I solve this problem?

When i place component A in the text component, the text color in style is bound. If you change the value of the bound textcolor, the text color of component A cannot be changed. For example, if you wish to change the text color from blue to red.…
0
votes
1 answer

Huawei Push kit notification message group count related

In the guide of HMS Push notification, it is mentioned that an app has one message group, which contains a maximum of 24 notification messages. Extra notification messages will be discarded. Does this mean that 25th message onwards will be discarded…