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

How I can fix a bug of "screen lock app" not recognizing that I entered the password on android?

When I enter the password on my phone it works but all apps isn't working.. Whenever I click on any app it says "Preparing apps.. try again in a moment" and that's because there is a bug in the system.. My phone is not recognizing that I already…
1
vote
2 answers

Cannot get token from Huawei HMS push kit

error message as below [getToken] Error/Exception: {"nativeStackAndroid":[],"userInfo":null,"message":"907122036:…
1
vote
3 answers

How can I enable Huawei Push Kit? Authentication parameters needed

I do all the steps according to the Huawei documentation First, I enabled the Push Kit api through the Project Settings -> Manage Apis Then I go to the Grow -> Push Kit and turn on Push Kit there, after which I turn on precise messaging: After…
1
vote
1 answer

Unable to get token using huawei_push

I have followed the steps in documentation to configure the huawei_push package in plugin. I want to integrate push notification. I am getting error when i use this code void _onTokenEvent(String event) { token = event; if (token != null) { …
1
vote
1 answer

jenkins + gradle ,stuck at app:processReleaseAGCPlugin

building an app get stuck at app:processReleaseAGCPlugin,here is some info: Gradle Version - 6.7.1 Android Gradle Plugin - 4.2.2 Build tools - 30.0.2 Compile and Target SDK - 30
1
vote
2 answers

Could not resolve com.huawei.hms:network-common:4.0.0.302

* What went wrong: A problem occurred configuring project . > Could not resolve all dependencies for configuration ':mishop2client:GooglePlayDebugCompileClasspath'. > Could not resolve com.huawei.hms:network-common:4.0.0.302. Required by: …
1
vote
1 answer

HMS Push Service Security Vulnerability

Our security team found insecure functions that exist in Push Kit libraries and would like to know whether it would be fixed in upcoming versions or it will stay and we have to accept the risk or if there is any customization can be done to overcome…
1
vote
3 answers

How To use Push Token in app server to send Push Notification in HMS SDK

I've gone through "How to implement push token in android" part 1 and part 2. part 1 is saying get the push token using HMS sdk and send it to server and second part is only using app id and app secret written inside AppGallery Connect account.…
1
vote
1 answer

Huawei Push Kit API - Read in background push data message with react native

In foreground i can read data message, but in background message was lost! I have read this tutorial : Receiving Data Messages When the App Is in Background or Killed State In the tutorial the function for run in background the data listener…
1
vote
2 answers

Huawei Push Kit API - Read data from payload of Notifications - onRemoteMessageReceived don't work

I want to read the date field from payload of this push notification but the api doesn't seem to work :( I'm now from hms Huawei, i have read this tutorial: HMS-Plugin-Guides-V1 all part is completed except d point, -> error of overwriting. When i…
1
vote
1 answer

Could not find a declaration file for module '@hmscore/react-native-hms-push'

I'm having problems with linking push kit library. I'm programming in react-native with visual studio code, library '@hmscore/react-native-hms-push' not seem to be imported correctly, the error is 'Could not find a declaration file for module…
1
vote
1 answer

Migration an app(maps,analystics..etc.) from google play to Huawei App Gallery

I have an app on the Google Play Market and I developed that with Google Play services, maps, analytics, location services. now I need to migrate this app to the Huawei app gallery, I need to publish the app with the same features on the Huawei App…
1
vote
1 answer

Huawei Push Exception: com.huawei.hms.common.ApiException: 907122037: get token error

I can't create Huawei Push token. TokenTask failed, ErrorCode: 907122012 - when push_kit_auto_init_enabled=true in manifest String: com.huawei.hms.common.ApiException: 907122037: get token error - when i trying to get token manually in String…
1
vote
1 answer

Huawei Push Kit getToken throws ApiException 6005: permission not authorized

I'm developing an application using Huawei push service and it was working fine until the last couple of days the String appId = AGConnectServicesConfig.fromContext(this).getString("client/app_id"); String hmsToken =…
1
vote
1 answer

Is QuickBlox supports Huawei devices or not?

As QuickBlox is using Firebase and Huawei devices are not supporting Firebase now. Is there any way to use QuickBlox SDK on Huawei devices or not? Or is there any other SDK that I can use in place of QuickBlox?