Questions tagged [huawei-account]

Use this tag for programming questions relating to the Huawei Account Kit. It is one of the services provided by Huawei HMS Core for developers. Account Kit is a user account service that provides developers with sign-in and authorization functions.

Huawei Account Kit is a user account service that allows a user to authenticate to Huawei ecosystem services and be granted authorization to access them.

Resources:

43 questions
5
votes
2 answers

The current version does not meet the minimum version requirements - Huawei Account Kit integration [Flutter]

I am trying to integrate Huawei Account Kit in my flutter project. Since I am not using Huawei phone, I have downloaded the HMS Core in my phone which is version 3.0.0.300. The current version for Huawei Account Kit in my pubspec.yaml is…
Foody
  • 177
  • 1
  • 10
4
votes
2 answers

missing required parameter: client_id

I tried to request a oauth token from hms server, but it always return missing required parameter: client_id to me. url: https://oauth-login.cloud.huawei.com/oauth2/v3/token?grant_type=client_credentials&client_id=XXX&client_secret=XXX header:…
ccd
  • 5,788
  • 10
  • 46
  • 96
4
votes
1 answer

HMS Core Playstore Version Cannot use Huawei ID Sign In

Firstly, I made an app with flutter, I just implement Account Kit and Scan Kit for the app. Well, I got a previous bug for using google pixel 3XL (AVD) API Level 30, then I tried to change it to Nexus 6 API Level 28, and it worked (the latest…
4
votes
2 answers

Huawei SMS retriever api is not working and Huawei devices

I am trying to retrieve OTP in Huawei device. but it is not working. I have created the app in Huawei developer console with all the requirements. Below is the code i am using to retrieve the sms. private fun initSmsManager() { val task =…
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
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…
2
votes
1 answer

HMS: Not able to enable account kit from manage API in AGC Console

I'm new to Huawei Account Kit Integration, not able to enable account kit from manage API in AGC Console. I'm Following below link for…
2
votes
1 answer

AccountManager return huawei account even if account have been signed out

Android Version: 7 Huawei devices AccountManager still returns account information after the user has been logged off. It should not return account information after it has been logged off. accountManager.getAccountsByType("com.huawei.hwid") is…
2
votes
1 answer

Can the AccessToken Be Obtained by Using the authAccount.getAccessToken() Method After the Silent Login Is Successful

I am integrating Huawei account kit. I want to know whether the AccessToken can be obtained through authAccount by using the following code: private void silentSignIn() { Task task = mAuthManager.silentSignIn(); …
2
votes
2 answers

Are google and huawei hash codes for SMS Retriever API calculated the same way?

We've got an android app with sms login feature. When user gets an sms message in the format of, for example "Your auth code: 1234 KLa37su2s0g", then the code "1234" is automatically inserted in the code prompt field. For android devices with google…
2
votes
1 answer

Huawei account kit implementation Flutter

I follow this article https://forums.developer.huawei.com/forumPortal/en/topic/0204412554756330223 to do the HMS account kit plug-in. This is the expected result. It supposed to pop out the huawei ID page after I clicked the Huawei Sign In. But it…
2
votes
1 answer

Black Screen after Huawei login, caused by InputRealNameActivitys

Environment OS: Android10 Model: Huawei Honor 10 SDK: hwid 5.0.4 Problem describe Test brid report there are black screen found in our app with few specific devices. As we reproduced, the black screen happen after we called Huawei login method.…
Kael luo
  • 79
  • 1
  • 5
2
votes
2 answers

Huawei auto read sms

I want to implement auto read sms in Huawei. I referenced this https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides-V5/readsmsmanager-0000001050050861-V5 and setup everything as required. But broadcast not working. Here is the…
Thushara
  • 559
  • 7
  • 22
2
votes
1 answer

Huawei SDK hwid failed project unit test

Environment: Android Studio hwid: 5.2.0.300 CI Problem Describe: After we integrate latest Huawei SDK, our CI failed since Android Test is not pass. And we dig into the report a bit, it gives us this error in stack…
2
votes
2 answers

Why my call for access token exchange from authorization code failed?

I am using the authentication code mode of Huawei account kit to login users to my app. To check the app server to account server behavior, I use the cURL command shown bellow to obtain the access token from the authorization code. But the following…
user14845274
1
2 3