Questions related to huawei-developers, for example: Safety Detect, AppGallery, Huawei AR, Huawei HiAi etc.
Questions tagged [huawei-developers]
625 questions
3
votes
1 answer
Huawei maps throwing array out of bound exception on rendering
I implemented huawei maps, followed all the protocols explained by @shirley here.
the maps is working fine for the first time. but while loading second time it creates a weird array out of bound exception with a crash on setContent view.
and after…

Manzoor Ahmad
- 481
- 6
- 21
3
votes
1 answer
How to deep link on Huawei devices?
With this intent filter, devices with google services offer the option of opening a link in an application or in a browser. Huawei devices open directly in the browser.
How to make earn a deep link on Huawei?

Денис
- 75
- 5
3
votes
2 answers
Huawei CloudDB createObjectType() crash
Try to use below function:
public void createObjectType() {
try {
mCloudDB.createObjectType(ObjectTypeInfoHelper.getObjectTypeInfo());
} catch (AGConnectCloudDBException exp) {
System.out.println("##error " +…

Rob
- 31
- 2
3
votes
1 answer
HMS Toolkit Conversion (G+H, HMS API 1st) Library (xmsadapter) Not Able to Import
I am trying to port my app from GMS to (G+H) using HMS Toolkit.
After using the Toolkit Convertor, the following line throws an unresolved reference error on import org.xms.f.auth.ExtensionAuth asking to define xms. This obviously means the…

KeagzB
- 33
- 3
3
votes
1 answer
Huawei appgallery api does not return comment list of an app
I try get comments list from app_id. I do everything as in the documentation, but I do not understand why I cannot get the list of comments.
import requests
import json
import datetime,time
from datetime import timedelta,datetime
client_id =…

Axixa
- 43
- 4
3
votes
1 answer
Is it possible to write all client information to only one agconnect-services.json file?
I want to use Push Kit and I use product flavors in my project. There are 4 different build variants and package names in my project.
Package Names:
variant: blueDebug - package_name: com.omfaer.pflavors.blue.debug
variant: blueRelease …

omfaer
- 184
- 3
- 16
3
votes
3 answers
Do all apps that implement huawei iap need to have a .huawei sufix in the package name?
If an app integrates huawai iap, must it have a package name with a .huawei suffix in order for it to be accepted in AppGallery? (Assuming the app belongs in the App category - I know that apps in Game category must have a package name with a…

anja
- 41
- 2
3
votes
2 answers
Can't use cloud debugging to test my apk for Huawei
I'm trying to test an apk with cloud debugging and I'm getting the following error when I tried to upload an apk:
I also added HMS plugin to my Android Studio but devices are not displayed in the device list when I opened one and it doesn't end or…

Figen Güngör
- 12,169
- 14
- 66
- 108
3
votes
2 answers
What is the best practice to manage user profile when using Huawei Auth Service
When using Huawei AppGallery Connect Auth Service, I tried to get user profiles by using getPhone(), getEmail(), getDisplayName(), etc according to the reference from Huawei Developer Site. But for the most time, if not all the time, getEmail()…
user14845274
3
votes
1 answer
INSTALL_FAILED_ABORTED error on Huawei P40 Pro (ELS-NX9)
I'm trying to migrate our existing app the Huawei App Gallery. In order to test the Huawei AGC, I tried installing a sample Android app to this Huawei P40 Pro (ELS-NX9) device, but I keep getting this error. This app is nothing but a basic app in…

virtualpathum
- 753
- 2
- 11
- 23
3
votes
1 answer
HMS Push plugin - how to receive data message when the app is in killed state
Android - Huawei with HMS push plugin, HmsPushEvent.onRemoteMessageReceived this event was not triggered when app is in killed state. This event only getting called while app is in foreground and background state. Can you please tell which event…

Senthil Ssk
- 78
- 7
3
votes
2 answers
Is it possible to create a firebase dynamic link which redirects to Huawei AppGalery on huawei devices
I have a flutter based mobile app and firebase dynamic link integration for Google Play and Apple App Store. I want to set rules for my firebase dynamic link redirection. To make clear:
If a user came to firebase dynamic links on Huawei brand…

Görkem Sazara
- 41
- 2
3
votes
2 answers
HMS Ads Kit - Could not resolve com.huawei.hms:ads-lite:13.4.29.303
Actually i was trying to implement ads but i did everything with instruction of codelab but this message is showing .... how can resolve this problem.??
ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve…

Lirka Kayda
- 51
- 1
3
votes
0 answers
Android heads up notifications not work In huawei
In Huawei equipment, how to apply for banner notification permission, he is turned off by default
I made the following Settings, which only worked when I manually turned on the banner notifications
How to solve ?
if…

Curiosity
- 31
- 1
3
votes
6 answers
Is it possible to implement Firebase Dynamic Links on Huawei devices?
I created android application which is using dynamic links
FirebaseApp.initializeApp(context)
Firebase.dynamicLinks
.getDynamicLink(intent)
.addOnSuccessListener(context) { successFunction(it) }
.addOnFailureListener(context) {…

user1578754
- 43
- 2
- 5