Questions tagged [huawei-mobile-services]

Use this tag for programming questions relating to HMS Core. HMS Core is an assortment of open device and cloud capabilities provided by Huawei Mobile Services (HMS). Noteworthy capabilities include: Account Kit, In-App Purchases (IAP), Push Kit, Game Service, Location Kit, Map Kit, Ads Kit, and ML Kit.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Why does gradle on Mac require optional dependencies that are turned off?

I am building a react-native project that used to have buildscript like this buildscript { ext { buildToolsVersion = "33.0.0" minSdkVersion = 23 compileSdkVersion ...
Milan Smolík's user avatar
0 votes
0 answers
26 views

Foreground Listener Issue on Huawei Devices with React Native OneSignal Integration

I've successfully integrated OneSignal into my React Native app, and it functions properly on both Android and iOS. However, I'm encountering an issue where the foreground listener does not seem to be ...
Asad Siddiq's user avatar
1 vote
1 answer
121 views

Connection with Net/SSH2.php to Huawei Olt MA5680T is very slow

I implemented a php script to communicate with my Huawei Olt MA5680T through the phpseclib SSH2.php library but the execution time of any remote operation on the Olt is extremely slow, about 40 ...
Sincerbex's user avatar
0 votes
0 answers
36 views

Is it possible to share a link with Huawei Share just like with Google Nearby Share?

I want my app to be able to share a link, and I'm using the Intent chooser to do it. The first option is always "Nearby Share". So if the user picks Nearby Share, the receiver gets the link ...
apuli's user avatar
  • 1
0 votes
0 answers
132 views

Huawei Core NFC on watch different than Huawei Core NFC on phones?

I have a question regarding the Huawei core of Huawei Watch 4 and the one on Huawei Phones, without any Google services. As it is known, Cuvre supports contactless payments on phones through it's app ...
DataPa's user avatar
  • 1
0 votes
0 answers
70 views

Huawei APK Uploading Error: Calculated Signature does not match

I am trying to upload apk/aab file to Huawei App Gallery via APIs. I successfully get upload URL and necessary parameters to upload a file. On upload file step I get this error. I used bash. Error ...
Selimcan Kacar's user avatar
0 votes
0 answers
56 views

Can I use Huawei Mobile Services (HMS) for push notifications on non-Huawei devices?

dear Stack Overflow community! I have an Android MDM agent that deploys a work profile on devices and needs to receive push notifications. My goal is to use Huawei Mobile Services (HMS) for push ...
stlmkvd's user avatar
0 votes
0 answers
54 views

HMS Unable to receive push notification on production app

I had setup HMS push kit for react native app and it able to receive push notification while in development mode. However, the push notification unable to receive since the app released to production
CR97's user avatar
  • 85
0 votes
0 answers
74 views

How to give justifications on Huawei App rejection

In the Huawei app gallery store, my uploaded Huawei application has been rejected. I would like to resubmit my application with a justification. I would like to know on which section I need to provide ...
Ammar Muhi ud din's user avatar
0 votes
0 answers
74 views

Huawei PushKit with Ionic & Capacitor not triggering onRemoteMessageReceived

I have integrated Huawei PushKit with the plugin found here https://github.com/HMS-Core/hms-cordova-plugin but I will add the code from the ionic example from the same repo as it behaves in exactly ...
Andrei Banc's user avatar
0 votes
0 answers
91 views

Gradle problem getting developer certificate

I have a problem when ever I build my flutter app, the problem occurs when the Gradle tries to build and calls for the resources: Certificate for <developer.huawei.com> doesn't match any of the ...
badees_abood's user avatar
0 votes
0 answers
88 views

Huawei Maps: MapsInitializer is not initialized

I have a trouble to implement Huawei maps even after I implemented Google Maps, OsmDroid and Mapsforge before. The error I see is: HmsMapKit_MapView_15 MapsInitializer is not initialized. This ...
Psijic's user avatar
  • 822
0 votes
0 answers
74 views

Huawei Wallet Kit - tokens, keys - where to get?

Using the Wallet Kit documentation, I still could not understand what keys and names to use. As an example - I'm using demo https://github.com/HMS-Core/hms-wallet-clientdemo-android. Where can I get ...
Иван Заика's user avatar
0 votes
0 answers
152 views

Accidently Deleted a file of Huawei b310s-927 How to recover I did Telnet by using putty

I wanted to unlock a router (huawei b310s-927 21.333). when I login to the router by using putty software I use the rm -r command a delete a folder under the system folder (bin). I that Folder there ...
Adnan Usman's user avatar
0 votes
0 answers
79 views

Duplicate name values of multiple closures in the label:[abilities] array

I'm creating a test Lite Wearable app using Huawei's DevEco IDE. I created an empty project and added a new page named "LaunchAbility", but when I try to build the project, I receive the ...
Olivier López Ch's user avatar
0 votes
1 answer
247 views

The type of the target device does not match the deviceType configured in the config.json file of the selected module

I'm trying to do development in HarmonyOS (DevEco, HAP, certificates, project structure, etc...). Right now, I'm stuck on trying to run a test application on a test device. A few days ago I managed to ...
Olivier López Ch's user avatar
0 votes
1 answer
129 views

How to adjust HMS Scan Kit CustomizedView scale in a fragment?

I want to use CustomizedView inside a fragment that is not full screen. I found that the camera viewfinder looks stretched, I've tried to adjust the width and height but nothing works. Here's the ...
ImamFF's user avatar
  • 7
0 votes
0 answers
129 views

why does zabbix output UPS APC and UPS HUAWEI options differently?

Help to understand, please. There is a local network, there are APC and HUAWEI UPSs, the parameter "remaining battery life" is displayed differently: on APC it is displayed in the format &...
user21402031's user avatar
0 votes
1 answer
220 views

How to enable plugin only for release build in Android Studio (KTS)?

I have following plugins in build.gradle.kts for app module: plugins { id("com.android.application") id("com.huawei.agconnect") id("kotlin-android") } I need ...
Michalsx's user avatar
  • 3,484
0 votes
2 answers
285 views

When I add "com.huawei.hms:hianalytics", I get ResourceException "Could not get resource". How to fix it?

Since I started adding Huawei SDK, I am having problems with builds. First when I added plugin "com.huawei.agconnect", I had to disable org.gradle.unsafe.configuration-cache. Now I added &...
Michalsx's user avatar
  • 3,484
-1 votes
1 answer
107 views

I need to decumentation for configration Gpon

I learn configration Gpon , i need decumentation I expected that gpon available in configration and i can learn it from youtupe and sites but it not available in google Or I not know access to it I ...
mohamed ahmed's user avatar
0 votes
0 answers
118 views

onActivityResult is deprecated in android 13

As Android framework update, onActivityResult method going to be deprecated. Doc: https://developer.android.com/training/basics/intents/result However, in the Huawei account & IAP SDK, we are ...
Kael luo's user avatar
0 votes
0 answers
165 views

Huawei AGC push kit. Push-token's subscription to push topics disappears every day

Mobile app has obtain a push token for device. Then mobile app send the token to backend. The backend subscribe the token on certain topics. Then i check the subscription via Postman request and get ...
Владимир Береза's user avatar
-1 votes
1 answer
194 views

Portmap.io not working with Huawei router?

Hey I wanted to try port forwarding using Portmap.io OpenVPN connection but It's not working with my Huawei router I tried using mobile data and It works fine with It
Aayush Joshi's user avatar
0 votes
1 answer
147 views

Huawei phone not recognize Image in Crop Text : Android Studio

I'm using this plugin link and it works fine in different android phone except from huawei phone , it doesn't recognize the text after I crop the specific text in image through huawei. Is there any ...
Shainnah Jane's user avatar
0 votes
0 answers
155 views

Build error after executing Huawei Unity SDK Setup

When following documentation for Huawei Unity SDK Setup, unable to build apk from Unity due to build errors Link to Huawei Unity SDK Setup: https://documentation.onesignal.com/docs/huawei-unity-sdk-...
Ziwerty's user avatar
1 vote
0 answers
178 views

I could not update the software from Huawei Store app gallery

how doing force update app from app gallery Updateinfo is not recommend, reason: Uninstall the old version before installation ,is same signature: 1 this is the function i used : fun checkAppUpdates() ...
Sadek Aldakhel's user avatar
0 votes
0 answers
139 views

The emergence of a loop in topology

topology Hello, I have a topology (attached in the photo) For fault tolerance, I want to connect S6 and AC to each other, and then to the AP, before conducting, everything in the network works fine ...
Forsaken_Oracle's user avatar
0 votes
0 answers
157 views

Can G+H be able access firebase realtime database on devices that supports only HMS

I'm trying to upload my app to app gallery i use firebase realtime database for my database management. I have integrated the HMS toolkit on Android studio to convert my codebase to support HMS. But I ...
f.gabriel's user avatar
0 votes
1 answer
208 views

Huawei map seems to be initialized on second time

I do have an android app which is adjusted to be released at huawei store. Here is the initialization snippet: if (areGoogleServicesAvailable()) { // google map here } else { ...
nKognito's user avatar
  • 6,319
0 votes
0 answers
174 views

Hitting react-native-hms-analytics error TS1110: Type expected in node_modules folder

After adding "yarn add @hmscore/react-native-hms-analytics" to my react-native project, I'm hitting this error: I've already have this in place, to force typescript to ignore node_modele ...
TT_TT's user avatar
  • 121
0 votes
1 answer
350 views

Security Exception while accessing the "StartupNormalAppListActivity" Huawei Phone

My app is getting SecurityEception on a Huawei device (Huawei P30 Pro, Android 10, EMUI 11.0.0Version), while accessing StartupNormalAppListActivity. Below is stacktrace and exception. I have tired ...
NikhilReddy's user avatar
  • 6,924
0 votes
0 answers
232 views

Huawei phones - can we detect "manage automatically" settings

I am going through a problem with the Huawei Phone models., where my application is not running in the back ground.I have gone through the couple of vlogs and stack over flow question, but I haven't ...
NikhilReddy's user avatar
  • 6,924
1 vote
1 answer
222 views

How to add svg as custom icon in HMSMarker (Huawei Maps) - React Native

I want to add an svg as custom icon in HMSMarker from '@hmscore/react-native-hms-map' . Can it be done? Because in the docs it does not mention something about svgs. I tried two things: To put a ...
Thanos K's user avatar
0 votes
0 answers
194 views

Problem when upload apk to AppGallery Huawei

While uploading apk to app gallery account I'm facing this error "Your App contains wallet functions. ­Please upload it again with a company account and provide the relevant qualification license ...
AMMAR ELHAMDO's user avatar
0 votes
1 answer
357 views

Ionic Cordova project not working for Huawei because HSM not found

I have a simple mobile app builded with Ionic and Cordova and I tried to publish to App Gallery and they said: Your App has been approved. ­Notes: Since your App has not been integrated with HMS yet, ...
Padi's user avatar
  • 731
0 votes
0 answers
907 views

FAILED (remote: 'Command not allowed') fastboot: error: Command failed

So im trying to root my phone (huawei p9 lite) im trying to write the img file (im in fastboot) and it shows me the error above this is the string fastboot flash boot magisk_patched-26000_Y0A6V.img ...
Kubson K's user avatar
0 votes
1 answer
188 views

SMS retrieval api throws 6003 error in huawei mobile services

HMS SMS retrieval api throws 6003 error and broadcast receiver is getting triggered. I have checked hashcode and SMS format. Both are correct. Even broadcast receiver registered proper and sms ...
praveen06527's user avatar
0 votes
0 answers
149 views

Using ML kit and 3D modeling kit in Unity

Unityde Ml kit and 3D modeling kit There is no document or SDK showing how to integrate Ml kit and 3D modeling kit in Unity. Please support unity. M I added Huawei mobile services from Unity asset ...
Osman kilic's user avatar
0 votes
0 answers
66 views

Unable to convert UnsafeMutablePointer<UInt8> to image in swift

I am trying to use HMS Image Segmentation Library for human body segmentatinon. After processing input image, getMasks() function returns UnsafeMutablePointer<UInt8> data. I want to generate ...
Jabed Dhali's user avatar
0 votes
0 answers
60 views

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 ...
kachi lau's user avatar
0 votes
1 answer
76 views

Printing sms using huawei_lte_api

My code: from huawei_lte_api.Client import Client from huawei_lte_api.Connection import Connection with Connection('http://admin:[email protected]/') as connection: client = Client(connection) ...
mshariq84's user avatar
0 votes
0 answers
435 views

Sync Huawei watch data to android device [duplicate]

We work on an app which can sync steps and health data from all fitness bands/watches. Huawei has been causing trouble when connecting to Android Device. Earlier there was a way where google fit was ...
Vipin NU's user avatar
  • 301
0 votes
1 answer
2k views

Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received) pymodbus TCP python Huawei

I have a Huawer SUN 2000 inverter with a dongle and a raspberry Pi 4B. I am trying to read data via modbus TCP with the pymodbus library but I get the following error: Modbus Error: [Input/Output] ...
Cristian Tacoronte Rivero's user avatar
0 votes
1 answer
541 views

Android app testing on huawei harmony based OS

an android devolveper can test apps via android studio by connecting huawei mobile based on harmony os? I am a beginner and start learning Android development. In my place we can get huawei new ...
Sahil's user avatar
  • 29
-2 votes
1 answer
55 views

HMS ML Automatic Speech Recognition Not working on Huawei Mate 20 pro with EMUI 12.0.0

We got the following Error Logs when we try ASR on Huawei Mate 20 pro with EMUI 12.0.0 Important Note: We updated the Device Software using HiSuite. Before the update, the ASR was working well. I/...
BeshoyAdel's user avatar
0 votes
0 answers
182 views

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: ...
Dima Lozyak's user avatar
0 votes
0 answers
77 views

HMSLocation getFusedLocationProviderClient not a function

I'm trying to use HMSLocation to get/subscribe to the location on a Huawei device. This is an ionic app with android. I followed the guide here: https://developer.huawei.com/consumer/en/doc/...
TomStroemer's user avatar
  • 1,402
0 votes
0 answers
39 views

There is a problem about identification activity services in Location Kit project

After running the Location kit android project in android studio, it stopped running the identification classes for a while. device is Huawei PPA-LX2 I checked the supported device for identification ...
vildan's user avatar
  • 1
0 votes
0 answers
66 views

Huawei Map Kit Street View implementation

I've been trying to implement Street View with Huawei HMS - MapKit. I'm kind of stuck so any help would be appreciated. This is code for GMS which works on Android phones; ...
Evren U's user avatar
  • 51

1
2 3 4 5
28