Questions tagged [huawei-developers]

Questions related to huawei-developers, for example: Safety Detect, AppGallery, Huawei AR, Huawei HiAi etc.

625 questions
3
votes
1 answer

Get appId with AGConnectServicesConfig failed

I have some doubts about this message in the logcat : E/HMSSDK_AGCUtils: Get appId with AGConnectServicesConfig failed If this error or message could give problems in the future since it is displayed when viewing the Maps Kit Map? I have already…
3
votes
3 answers

Unable to get Notifications on Huawei devices with HmsMessageService (HMS push kit)

I am using HMS push kit to get notification. Notifications were working fine about 1 week ago, but now when I re run that code, it is not working. I cross checked all the things but unable to find anything. Dependency which I am using…
3
votes
1 answer

Is there any way to testing React Native project using HMS Toolkit cloud debugging?

I found huawei have HMS Toolkit Cloud Debugging for testing, is it support for React Native? or is there any way to install our apps into the cloud device?
3
votes
1 answer

Huawei Map Kit React Native not render the map

After following huawei setup docs https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides-V1/preparedevenv-0000001050032222-V1, maps still not render on our apps.. It just showing blank screen without any error show, on both…
3
votes
2 answers

CRASH on Android 12 while using Huawei app service dependency, with build tools 31

We have implementation of "com.huawei.hms:appservice:$huaweiAppService" WHERE huaweiAppService = '6.1.0.301' And there is a crash: java.lang.IllegalArgumentException: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or…
lazexe
  • 367
  • 4
  • 19
3
votes
1 answer

Huawei. Automatically Reading an SMS Verification Code

I'm using "ReadSmsManager.StartConsentAsync" and it works fine. But i have a question: Official documetation says: "Enables the service of reading SMS messages until the SMS messages that meet the rules are obtained or the service times out (the…
3
votes
3 answers

Native Ads MediaView doesn't match constraint in Huawei Ads Implementation

I’m implementing the Native Ads in Android using Native Ads - Huawei documentation. When I come across to change the height of the MediaView according to Screen Size (0 dp), I have found that it couldn't be changed. Even though I have implemented…
3
votes
1 answer

How to get External and Internal storage directory path

I need to get External and Internal storage directory path to find it's size and I am not able to get the path. In android we have android.os.Enviroment.getExternalStorageDirectory()
Raj Bhagat
  • 81
  • 5
3
votes
1 answer

Huawei ML kit Exception while downloading Model

I’m using the Huawei ML Kit for on-device translation, but downloading the model always shows the Exception. I’m following the Huawei Doc On-device Translation. I have tried the following code, but yet I am getting the Exception continuously. File…
3
votes
1 answer

Is there a best practice integration of Braze with push_kit HMS - Flutter

Do you know if there is any best practice or steps to follow to integrate Braze SDK with Huawei push_kit into a Flutter project?
3
votes
2 answers

Huawei Push Kit API - get Push Id from rest Api

I am trying to send notifications to my android app via HMS push with Rest api. The system works, but I can't find an api to find the Push Id (Token). { "validate_only": false, "message": { "notification": { "title":…
3
votes
2 answers

Huawei sign in failed with status code 28

Even though I used last sdk, Huawei sign failed with status code 28. What causes this error?
Abdullah
  • 231
  • 2
  • 11
3
votes
1 answer

HUAWEI ID login: Scope email address option getting as unselected

I have implemented @hmscore/react-native-hms-account to my react native application for login with Huawei Id. When I sign in with an id token, I want to get mandatory the obtain your email address option. But currently, the option is there but…
3
votes
1 answer

Not able to set the HarmonyOS SDK location. What to do?

After installed DevEco studio. I have to setting up a new project but, Showing following error Here I am not able to set the HarmonyOS SDK location, How to set sdk location?
3
votes
2 answers

What is the alternative class in Harmony OS for AccelerateInterpolator and OvershootInterpolator in Android OS?

I am writing a class in JAVA to port a library from Android to Harmony OS. In the Android code given below for the method onSelectedY(boolean, float, int), it requires a constructor of the class AccelerateInterpolator to be added to a method private…