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.
Questions tagged [huawei-push-notification]
97 questions
2
votes
3 answers
How do I get push notifications to show when foreground_show is set to false and my app is in the background?
I am trying to implement push notifications on Huawei devices in this way:
Objectives
(1) When my app is in the foreground (active), I would like to have it transparently process the push messages without displaying the pop-up system…

Joey Wong Chong Ee
- 19
- 1
- 3
2
votes
1 answer
Not all apps are in the notification number badge list
Hi there Android / HUAWEI friends!
I am designing an App for Android. I have utilized Firebase to send push notifications to the device where the app is installed. It is all good and works fine - I can see the notification as a tile with Title, Body…

Borislav Nanovski
- 425
- 5
- 14
2
votes
1 answer
HMS Push Notification channel selection by channel_id is not working
I send a notification from server of this type:
let message = {
notification: notification,
android: {
notification: {
channel_id: "huawei-hms-rn-push-channel",
...
},
urgency: "HIGH",
…

shogitai
- 1,823
- 1
- 23
- 50
2
votes
2 answers
Why HMS PushKit needs android.permission.REQUEST_INSTALL_PACKAGES
Recently I've added HMS PushKit SDK with this gradle code:
implementation "com.huawei.hms:push:5.0.4.302"
After That I've noticed that my application added to the list of apps with access to install apps from unknown source (special permission). I…

Saman Sattari
- 3,322
- 6
- 30
- 46
2
votes
1 answer
Huawei PushKit Notifications doesn't appear when app is killed or in background
I have integrated the Huawei Push kit to my app and when I trigger a notification from Huawei Push Kit Console, I can receive the notification when the app is in background. However, when our system backend triggers Huawei API to push notifications,…

virtualpathum
- 753
- 2
- 11
- 23
2
votes
1 answer
Error XAGJS7009: System.InvalidOperationException: There can be only one type with an [Application] attribute android Xamarin
After implementing Huawei push service in my android project, I was getting crash on the occurrence of Push Notification, and error was looged
java.lang.UnsatisfiedLinkError: No implementation found for void…

Prashant Gautam
- 41
- 6
2
votes
2 answers
Huawei Push Kit Flutter : Push.getToken() returns ResultCode -5
When I look at the documentation, it tells that -5 is related to proguard rules so I added them as mentioned…

Figen Güngör
- 12,169
- 14
- 66
- 108
2
votes
1 answer
Supporting Huawei IAP for multiple build types
Following the Huawei official docs I was able to integrate IAP into our app. I am able to query product details and perform a subscription, so the integration is working fine for the release build. However, we have multiple build types, imagine:…

Andy Res
- 15,963
- 5
- 60
- 96
2
votes
1 answer
Huawei push kit: stuck at push kit initializing, try again later
I'm trying to use Huawei push kit and after updating the HMS following error was thrown when trying to send upstream data.
Some configs:
Device: Samsung Galaxy A40 + HMS Core installed…

Mahdi-Malv
- 16,677
- 10
- 70
- 117
2
votes
1 answer
How can I prevent users from maliciously calling HUAWEI Push Kit's message receipt function API when I use the function?
Since Google forbids new Huawei devices from using GMS, Huawei mobile phone users of my app often complain that they can't receive notification messages. So I recently started using HUAWEI Push Kit. The integration process is smooth. I have finished…

bigface
- 78
- 5
1
vote
1 answer
Huawei Push Kit, payload sent does trigger onMessageReceive
Based on the documentation I follow here documentation
the payload I had sent does not trigger onMessageReceived method for me to parse it instead it automatically trigger notification by the Huawei notification center.
this is a sample payload I've…

faryz ryz
- 11
- 2
1
vote
1 answer
AGConnectServicesConfig only read agconnect-services.json first time
I'm integrating the Huawei Kit (Maps, Analytics, Crash and Push) into my Xamarin Forms App, but there is strange behavior, the agconnect-services.json is read only the first time I run the app, after that if I use this code var appId =…

Nestor Daniel Flores
- 140
- 6
1
vote
1 answer
Detect Huawei app is uninstalled from phone
I'm having difficulty figuring out if the user has deleted my app from their Huawei phone when sending a Push.
I'm looking at the push docs, I do not see any error code for this case. Also, looking at the sample app that Huawei has given, I can't…

Eugene mtl
- 23
- 4
1
vote
1 answer
Android hms notification second click don't work as needed
I have notifications from huawei push kit with click_action : {type : 3 }.
When app is in background. I recieve 2 or more notification. After click on first notification (don't matter first position or last in notifications on the screen) all works…

dlp dlp
- 11
- 3
1
vote
2 answers
HMS: Getting error in push notification token with error code 907135003
I'm new to flutter, Unable to get the token from Huawei push notification in flutter.
I'm using below code to get data:
await Push.getToken("");
await initTokenStream();
Unable to get the token from huawei push notification in flutter. Getting…

kgsharathkumar
- 1,369
- 1
- 19
- 36