Category : huawei-mobile-services

I’m using com.huawei.hms:scan:1.3.2.300 Device: Honor 50, Magic UI 4.2, Android version 11. The following is the crash log: java.lang.SecurityException: getNetworkTypeForSubscriber 5 at android.os.Parcel.createExceptionOrNull(Parcel.java:2384) 6 at android.os.Parcel.createException(Parcel.java:2368) 7 at android.os.Parcel.readException(Parcel.java:2351) 8 at android.os.Parcel.readException(Parcel.java:2293) 9 at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:8795) 10 at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3102) 11 at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3064) 12 at com.huawei.hms.mlkit.common.ha.d.b(HianalyticsLogUtils.java:68) 13 at com.huawei.hms.mlkit.common.ha.HianalyticsLogProvider.logEnd(HianalyticsLogProvider.java:6315) 14 at com.huawei.hms.ml.camera.g$a.a(HiAnalyticsThread.java:109) 15 at com.huawei.hms.ml.camera.g$a.handleMessage(HiAnalyticsThread.java:78) 16 at ..

Read more

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 tried the following: No apply plugin of agconnect in build.grade Manually add <meta-data android:name="com.huawei.hms.client.appid" ..

Read more

I’ve been developing a demo for speech recognition and ran into an issue. Could anyone help me? I called startRecognizing interface and received an onError callback (Error 11203, subError 3005, errorMessage: service unavailable), see screenshot: I followed the document , My code: // Create an Intent to set parameters. val mSpeechRecognizerIntent = Intent(MLAsrConstants.ACTION_HMS_ASR_SPEECH) // Use ..

Read more

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 is: implementation ‘com.huawei.hms:push:5.1.1.301’ I have added agconnect-services.json too in my ..

Read more

We have a react-native application running in production with firebase phone auth. Lately, we received feedback from users owning new Huawei devices not being able to authenticate with their phone numbers using firebase. Since a lot of users started having this issue, we decided to implement Huawei auth services only for devices under HarmonyOS and ..

Read more