[Integration Guide]HUAWEI Account Kit Overview - Huawei Developers

About HUAWEI Account Kit​
HUAWEI ID is the credential that provides users with access to a wide range of Huawei services, such as Huawei cloud services. As a fundamental development service offered by HMS Core, Account Kit provides you with simple, secure and quick sign-in and authorization functions. Rather than needing to repeatedly enter account and password information, and then wait for authentication, users can simply tap the Sign in with HUAWEI ID button to sign in directly to your app via their HUAWEI IDs.
Advantages​Authorized Sign-in for All Scenarios​
Account Kit enables the user to be authorized to sign in to your app through a HUAWEI ID, sparing them from having to enter personal information, setting passwords, and waiting to have the information verified by email or SMS message. Once authorization has been completed, no sign-in authorization screen will be displayed when the user signs in to your app again, greatly reducing the user churn rate during registration and sign-in.
In addition, Account Kit supports seamless sign-in switching between different devices, including mobile phones, tablets, Vision, head units, and watches. This helps you better present your product and services on Huawei devices across all scenarios.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A Global HUAWEI ID User Base​Account Kit enjoys a truly global reach, serving more than 190 countries and regions, and coming supported in 70+ languages. By integrating the service into your app, you'll benefit from access to a vast number of new potential users, and be equipped to expand your presence in new markets.
Secure and Reliable Services​Account Kit complies with prestigious international protocols, including OAuth 2.0 and OpenID Connect, and enables users to complete sign-in via a password and verification code, with the data encrypted, as well as offers an RISC-based cross-account protection function. This rigorous framework helps ensure that Account Kit meets relevant user privacy regulations around the world, and when coupled with HUAWEI ID sign-in, frees you from the hassle of managing user account data.
HUAWEI ID has obtained the EuroPriSe certification.
A Convenient and Cohesive Solution​
1. The development guide, sample code, and integration tool for Account Kit are continually being optimized to reduce integration costs.
ü Quick integration on the client: You can use HMS Toolkit to download the demo, check development environment configuration, and drag and drop the required code to complete integration in half a working day.
ü Quick integration on the server: You can reference both the Java and PHP sample code.
2. Account Kit allows you to connect to the Huawei ecosystem using your HUAWEI ID from a range of different devices, including mobile phones, tablets, and Vision.
Account Kit offers simple, secure and quick sign-in and authorization functions. In addition, it leverages the reach of its vast user base and all-scenario ecosystem, to provide you with direct access to new users in new markets.
We will continue to optimize Account Kit to help you achieve your business goals, and hope you'll enjoy access to such a broad range of game-changing services.
Use a browser to scan the QR code below to try the demo app:
(Note: The app may collect relevant information for user statistics.)
For more information about Account Kit, please visit:
l Development guide
l Codelab
l Video course
For more details, you can go to:
l Our official website
l Our Development Documentation page, to find the documents you need
l Reddit to join our developer discussion
l GitHub to download demos and sample codes
l Stack Overflow to solve any integration problems

Martin Bieber said:
About HUAWEI Account Kit​
HUAWEI ID is the credential that provides users with access to a wide range of Huawei services, such as Huawei cloud services. As a fundamental development service offered by HMS Core, Account Kit provides you with simple, secure and quick sign-in and authorization functions. Rather than needing to repeatedly enter account and password information, and then wait for authentication, users can simply tap the Sign in with HUAWEI ID button to sign in directly to your app via their HUAWEI IDs.
Advantages​Authorized Sign-in for All Scenarios​
Account Kit enables the user to be authorized to sign in to your app through a HUAWEI ID, sparing them from having to enter personal information, setting passwords, and waiting to have the information verified by email or SMS message. Once authorization has been completed, no sign-in authorization screen will be displayed when the user signs in to your app again, greatly reducing the user churn rate during registration and sign-in.
In addition, Account Kit supports seamless sign-in switching between different devices, including mobile phones, tablets, Vision, head units, and watches. This helps you better present your product and services on Huawei devices across all scenarios.
A Global HUAWEI ID User Base​Account Kit enjoys a truly global reach, serving more than 190 countries and regions, and coming supported in 70+ languages. By integrating the service into your app, you'll benefit from access to a vast number of new potential users, and be equipped to expand your presence in new markets.
Secure and Reliable Services​Account Kit complies with prestigious international protocols, including OAuth 2.0 and OpenID Connect, and enables users to complete sign-in via a password and verification code, with the data encrypted, as well as offers an RISC-based cross-account protection function. This rigorous framework helps ensure that Account Kit meets relevant user privacy regulations around the world, and when coupled with HUAWEI ID sign-in, frees you from the hassle of managing user account data.
HUAWEI ID has obtained the EuroPriSe certification.
A Convenient and Cohesive Solution​
1. The development guide, sample code, and integration tool for Account Kit are continually being optimized to reduce integration costs.
ü Quick integration on the client: You can use HMS Toolkit to download the demo, check development environment configuration, and drag and drop the required code to complete integration in half a working day.
ü Quick integration on the server: You can reference both the Java and PHP sample code.
2. Account Kit allows you to connect to the Huawei ecosystem using your HUAWEI ID from a range of different devices, including mobile phones, tablets, and Vision.
Account Kit offers simple, secure and quick sign-in and authorization functions. In addition, it leverages the reach of its vast user base and all-scenario ecosystem, to provide you with direct access to new users in new markets.
We will continue to optimize Account Kit to help you achieve your business goals, and hope you'll enjoy access to such a broad range of game-changing services.
Use a browser to scan the QR code below to try the demo app:
(Note: The app may collect relevant information for user statistics.)
For more information about Account Kit, please visit:
l Development guide
l Codelab
l Video course
For more details, you can go to:
l Our official website
l Our Development Documentation page, to find the documents you need
l Reddit to join our developer discussion
l GitHub to download demos and sample codes
l Stack Overflow to solve any integration problems
Click to expand...
Click to collapse

Related

Huawei Cab Application Part 3 - In-App Purchase Subscription, Analytics, Native Ads

Introduction
Huawei Cab Application is to explore more about HMS Kits in real time scenario, use this app as a reference to CP during HMS integration, and they can understand easily how HMS works in real time scenario, refer previous articles:
Part1 (Login Module with Account Kit and AGC Auth Service)
Part2 (Dashboard Module with Map, Site, Location Kits and TomTom API)
Subscription Module
In-App Purchase Kit: Subscription page allows a Huawei cab user to subscribe the product from the product list and based on subscription products like Silver, Gold and Diamond. User will get benefits like remove the ads on the app, get priority support and also user will get top drivers and cars during cab booking.
Native Ad: Native ads displayed in-between cab booking history list items and removed the ads, once the user subscribes the product.
Analytics Kit: Report the subscription event details to Huawei analytics.
App Messaging: Sending promote offer for the subscribed users through app messaging.
HMS Kits Covered in Subscription Module:
1. Huawei In-App Purchase Kit
2. Huawei Native Ads
3. Huawei Analytics
4. AGC App Messaging
App Screenshots
Subscription
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
App Messaging
Native Ads
Huawei IAP Kit
In-App Purchases aggregates global mainstream payment methods and supports users to buy various types of virtual products and services within an app. IAP provides users with a convenient and high-quality experience and also helps developers to continuously earn revenue and create more business value globally.
Huawei IAP provides a product management system (PMS) for managing the prices and languages of in-app products (including games) in multiple locations.
Sandbox Testing
Sandbox testing allows you to complete end-to-end testing without real payments when you connect to Huawei IAP for joint commissioning. You can configure test accounts in the AppGallery Connect and allow these testers to perform sandbox testing.
Before testing, you need to add test accounts, which are real HUAWEI IDs, under Users and permissions in the AppGallery Connect. For details, refer to Managing Tester Accounts.
Huawei Native Ads
The Native Ad API allows you to build a customized experience for the ads you show in your app. When using the Native Ad API, instead of receiving an ad ready to be displayed, you will receive a group of ad properties such as a media content, ad title, ad source, call to action, and you will have to use them to construct a custom view where the ad is shown.
You will also get dislike this ad, rating, etc.
Huawei Analytics Kit
Huawei Analytics Kit is a one-stop data analysis platform for mobile app developers that utilizes data to drive daily app operations, bringing out dynamic details in a comprehensive, timely, and efficient manner. These cutting-edge solutions inspire out-of-the-box app service innovations, helping developers and operations personnel grow revenue and expand the reach of their apps.
Events: An event refers to the behaviour of a user with regard to a product, or in other words, a specific event is something that a user completes at a specific time point, place, and manner.
Real Time Example: Take the process of browsing for a typical item on a cab booking platform, as an example. Corresponding events can include tapping the registration button, accessing the product details app, and exiting the page. Therefore, event monitoring is, in essence, the detailed study of user behaviour within an app.
Huawei In-App Messaging
Huawei In-App Messaging is one of the simplest tools, but it is super useful to keep your active users. The service promotes them to keep using the app by sending messages that enhance or promote certain features of your app.
Note: Merchant Service
1. Choose Console > Developer center > Settings > Merchant Service.
2. You need to activate the IAP service for the first time, Huawei will ask for your bank account information and tax information for the payment.
3. Finally click submit. Verification of this information will take approximately 1-2 days.
Integration Preparations
You must complete the following preparations to Integrate Huawei IAP, Analytics, Ad Kits and AGC App Messaging.
Create an app in the AppGallery Connect.
Create a project in Android Studio.
Generate a signing certificate.
Generate a signing certificate fingerprint.
Configure the signing certificate fingerprint.
Add the app package name and save the configuration file.
Add the AppGallery Connect plug-in and the Maven repository in the project-level build.gradle file.
Configure the signature file in Android Studio.
Configuring the Development Environment.
Enabling Huawei IAP, Analytics, Ad Kits and App Messaging
1. Sign in to AppGallery Connect, select My apps, click an app, and choose Develop > Overview > Manage APIs.
2. Choose Earning > In-App Purchases. If it is the first time that you use Huawei In-App Purchases (IAP), click Settings.
3. Once configuration is successful, the page displays the public key used for subsequent payment signature verification and a parameter for configuring the subscription notification URL.
4. Choose Huawei Analytics > Project overview and Enable Analytics Service.
5. Choose Growing > App Messaging and Enable.  
Configuration
1. IAP: Configure Product Information. Click the Operate tab. Choose Product Operation > Product Management from the navigation tree on the left, click the Products tab, and click Add Product.
Select Default currency and Default price (tax included) of the product and Save.
Activate the product in operation column from the product list.
2. Creating an App Message. Choose Growing > App Messaging > New.
Enter Name and Description for your in-app message.
Select Type as Image and Provide Image URL.  
Select the App package and select sending target. This section is used to set conditions for matching target users.
For more information, you can visit https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0202367598227240326&fid=0101187876626530001

[Integration Guide] HUAWEI Account Kit Overview

About HUAWEI Account Kit​HUAWEI ID is the credential that provides users with access to a wide range of Huawei services, such as Huawei cloud services. As a fundamental development service offered by HMS Core, Account Kit provides you with simple, secure and quick sign-in and authorization functions. Rather than needing to repeatedly enter account and password information, and then wait for authentication, users can simply tap the Sign in with HUAWEI ID button to sign in directly to your app via their HUAWEI IDs.
Advantages​Authorized Sign-in for All Scenarios​Account Kit enables the user to be authorized to sign in to your app through a HUAWEI ID, sparing them from having to enter personal information, setting passwords, and waiting to have the information verified by email or SMS message. Once authorization has been completed, no sign-in authorization screen will be displayed when the user signs in to your app again, greatly reducing the user churn rate during registration and sign-in.
In addition, Account Kit supports seamless sign-in switching between different devices, including mobile phones, tablets, Vision, head units, and watches. This helps you better present your product and services on Huawei devices across all scenarios.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A Global HUAWEI ID User Base​Account Kit enjoys a truly global reach, serving more than 190 countries and regions, and coming supported in 70+ languages. By integrating the service into your app, you'll benefit from access to a vast number of new potential users, and be equipped to expand your presence in new markets.
Secure and Reliable Services​Account Kit complies with prestigious international protocols, including OAuth 2.0 and OpenID Connect, and enables users to complete sign-in via a password and verification code, with the data encrypted, as well as offers an RISC-based cross-account protection function. This rigorous framework helps ensure that Account Kit meets relevant user privacy regulations around the world, and when coupled with HUAWEI ID sign-in, frees you from the hassle of managing user account data.
HUAWEI ID has obtained the EuroPriSe certification.​
A Convenient and Cohesive Solution​The development guide, sample code, and integration tool for Account Kit are continually being optimized to reduce integration costs.
Quick integration on the client: You can use HMS Toolkit to download the demo, check development environment configuration, and drag and drop the required code to complete integration in half a working day.
Quick integration on the server: You can reference both the Java and PHP sample code.
Account Kit allows you to connect to the Huawei ecosystem using your HUAWEI ID from a range of different devices, including mobile phones, tablets, and Vision.
Account Kit offers simple, secure and quick sign-in and authorization functions. In addition, it leverages the reach of its vast user base and all-scenario ecosystem, to provide you with direct access to new users in new markets.
We will continue to optimize Account Kit to help you achieve your business goals, and hope you'll enjoy access to such a broad range of game-changing services.
Use a browser to scan the QR code below to try the demo app:
(Note: The app may collect relevant information for user statistics.)
For more information about Account Kit, please visit:
Development guide
Codelab
Video course
For more details, you can go to:
l Our official website
l Our Development Documentation page, to find the documents you need
l Reddit to join our developer discussion
l GitHub to download demos and sample codes
l Stack Overflow to solve any integration problems

【Integration Guide】HUAWEI Account Kit Overview

About HUAWEI Account Kit​
HUAWEI ID is the credential that provides users with access to a wide range of Huawei services, such as Huawei cloud services. As a fundamental development service offered by HMS Core, Account Kit provides you with simple, secure and quick sign-in and authorization functions. Rather than needing to repeatedly enter account and password information, and then wait for authentication, users can simply tap the Sign in with HUAWEI ID button to sign in directly to your app via their HUAWEI IDs.
Advantages​
Authorized Sign-in for All Scenarios​
Account Kit enables the user to be authorized to sign in to your app through a HUAWEI ID, sparing them from having to enter personal information, setting passwords, and waiting to have the information verified by email or SMS message. Once authorization has been completed, no sign-in authorization screen will be displayed when the user signs in to your app again, greatly reducing the user churn rate during registration and sign-in.
In addition, Account Kit supports seamless sign-in switching between different devices, including mobile phones, tablets, Vision, head units, and watches. This helps you better present your product and services on Huawei devices across all scenarios.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A Global HUAWEI ID User Base​
Account Kit enjoys a truly global reach, serving more than 190 countries and regions, and coming supported in 70+ languages. By integrating the service into your app, you'll benefit from access to a vast number of new potential users, and be equipped to expand your presence in new markets.
Secure and Reliable Services​
Account Kit complies with prestigious international protocols, including OAuth 2.0 and OpenID Connect, and enables users to complete sign-in via a password and verification code, with the data encrypted, as well as offers an RISC-based cross-account protection function. This rigorous framework helps ensure that Account Kit meets relevant user privacy regulations around the world, and when coupled with HUAWEI ID sign-in, frees you from the hassle of managing user account data.
HUAWEI ID has obtained the EuroPriSe certification.
A Convenient and Cohesive Solution​
1. The development guide, sample code, and integration tool for Account Kit are continually being optimized to reduce integration costs.
ü Quick integration on the client: You can use HMS Toolkit to download the demo, check development environment configuration, and drag and drop the required code to complete integration in half a working day.
ü Quick integration on the server: You can reference both the Java and PHP sample code.
2. Account Kit allows you to connect to the Huawei ecosystem using your HUAWEI ID from a range of different devices, including mobile phones, tablets, and Vision.
Account Kit offers simple, secure and quick sign-in and authorization functions. In addition, it leverages the reach of its vast user base and all-scenario ecosystem, to provide you with direct access to new users in new markets.
We will continue to optimize Account Kit to help you achieve your business goals, and hope you'll enjoy access to such a broad range of game-changing services.
Use a browser to scan the QR code below to try the demo app:
(Note: The app may collect relevant information for user statistics.)
(Note: The app may collect relevant information for user statistics.)
For more information about Account Kit, please visit:
l Development guide
l Codelab
l Video course
For more details, you can go to:
l Our official website
l For GitHub to download demos and sample codes
| Original Source

Why Does onRewardAdFailedToLoad error 3 Keep Occurring when Integrating with HUAWEI Ads Kit?

We recently received a question from a developer outside the Chinese mainland regarding onRewardAdFailedToLoad error 3 that keeps returning when the developer is testing their app's integration with HUAWEI Ads Kit. The developer used a Samsung Galaxy S7, which has HMS Core (APK) 5.0.2.301 installed. This error indicates that no ad is returned during the testing phase. On top of this, they also discovered check hms sdk available error in the logcat logs.
For details about this specific issue, please refer to https://stackoverflow.com/questions/65723806/huawei-ads-check-hms-sdk-available-error.
A solution for this problem is as follows:
First, onRewardAdFailedToLoad error 3 and the returned error code (204) in the developer's logs indicate that an ad request was successfully sent, but the server did not return an ad. According to the developer, a Samsung Galaxy S7 was used for testing. Unfortunately, for HUAWEI Ads Kit, only Huawei devices can currently be used for testing, and for this reason it is advised that the developer uses a Huawei device.
Supported Huawei devices are listed in the figure below. We are committed to optimizing our services to support HUAWEI Ads Kit integration on non-Huawei devices in the near future.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Some of you may ask: Are there any other solutions if no Huawei device is available for testing?
Of course yes. Huawei's Cloud Debugging allows you to test your app on wide range of popular Huawei devices. For details about this, please refer to https://stackoverflow.com/a/63877454/13329100.
Along with error 3, error 499 also frequently occurs if no ad is returned. If this error code is returned, check whether the test device meets the following requirements:
1. The device is a Huawei mobile phone sold outside the Chinese mainland.
2. The device is connected to networks outside the Chinese mainland, excluding the United States.
3. The area in system settings is outside the Chinese mainland.
4. The device time is the current time.
5. The device has the latest version of HMS Core (APK) installed.
6. The device is inserted with a SIM card registered outside the Chinese mainland.
For details about other error codes that are frequently returned during integration with Ads Kit, please refer to Error Codes.
Now that we've proposed solutions for some common error codes that developers may encounter when integrating their apps with the HUAWEI Ads Kit, let's take a look at what HUAWEI Ads Kit is and the capabilities that this kit provides.
Introduction to HUAWEI Ads Kit​Currently, HUAWEI Ads Kit mainly provides two capabilities: Publisher Service and Identifier Service.
Publisher Service
HUAWEI Ads Publisher Service is a monetization service that leverages Huawei's extensive data capabilities to display targeted, high-quality ad content in your apps to a large audience of Huawei device users.
We offer a range of ad formats so you can choose whichever suits your app best, including banner, native, rewarded, interstitial, splash, and roll ads. You can use the HUAWEI Ads SDK to integrate these ads into your app to bring in revenue using our high-quality advertising services.
We also offer the Publisher Service Reporting API for you to obtain traffic monetization report data, including the number of ad requests, number of returned ads, click-through rate, and impression rate.
Identifier Service
Ads Kit provides the Open Advertising Identifier (OAID) and install referrer capabilities for advertisers to deliver personalized ads and attribute conversions.
An OAID is a non-permanent device identifier. You can use them to provide personalized ads for users while protecting their privacy. In addition, third-party tracking platforms can provide conversion attributions for advertisers based on OAIDs.
You and advertisers can obtain app install referrers through APIs provided by Huawei. Advertisers can use install referrers to attribute conversions to different promotion channels.
Stack Overflow and HMS Core​As the world's largest technical discussion platform, Stack Overflow is an open platform for developers around the world to raise programming-related questions. You are welcome to post your questions about HMS Core integration in Huawei's own section (https://stackoverflow.com/questions/tagged/huawei-mobile-services) on Stack Overflow.
For more details, please refer to the following links:
HUAWEI Ads Kit official website: https://developer.huawei.com/consumer/en/hms/huawei-adskit?ha_source=hms1
Integration guide to HUAWEI Ads Publisher Service: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/publisher-service-dev-process-0000001050064964
Integration guide to HUAWEI Ads Identifier Service: https://developer.huawei.com/consum...e-dev-process-0000001050064984?ha_source=hms1
Ads Kit client sample code: https://developer.huawei.com/consum...ample-code-0000001050066947-V5?ha_source=hms1
Ads Kit server sample code: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Examples-V5/server-sample-code-0000001056563536-V5
To learn more, please visit:
HUAWEI Developers official website
Development Guide
Reddit to join developer discussions
GitHub or Gitee to download the demo and sample code
Stack Overflow to solve integration problems
Follow our official account for the latest HMS Core-related news and updates.
Original Source
How can i get AdsID?

Comprehensive Analysis | Application Scenarios and Business Values of Keyring

Nowadays, it's common for an app developer to develop multiple apps across different platforms. However, an issue that arises is that when signing in to different apps or the same app across different platforms on the same device, users usually needs to repeatedly enter their account name and password even if the same account is used, which has a negative impact on user experience. HMS Core Keyring can help developers solve this problem effectively.
Keyring Capabilities​Keyring provides developers with the ability to manage user credentials throughout the credential lifecycle, including obtaining, encrypting, storing, authorizing, sharing, querying, accessing, and deleting credentials. These capabilities help developers provide a smooth sign-in experience for their users.
Encrypted storage on user devices
Keyring encrypts user credentials using a randomly generated key in the Trusted Execution Environment (TEE). The key varies depending on the device and can only be used in the TEE. Huawei does not have access to the content of the key. All these measures ensure that user credentials are securely stored on user devices. When storing credentials, developers can also choose to require the user to provide biometric information or enter their lock screen password when an app tries to access the stored credentials.
Credential sharing
Keyring allows users to share their credentials across different Android apps, quick apps, and web apps made by the same developer. When a user signs in to an app, the app searches for available credentials in Keyring. The available credentials may be stored by the app or shared by other apps with the app.
Data security
To ensure data security, Keyring can verify the identity of an Android app by its APK name, verify the identity of a quick app by its package name and certificate hash value, and verify the identity of a web app by its URL, thus effectively preventing user credentials from being stolen by spoof apps and ensuring the security of credential sharing.
Credential deletion and update
Keyring provides developers with APIs for deleting and updating credentials. After the user signs out of an app account, the account credential will be deleted from Keyring.
Privacy Experience​As for privacy, Keyring complies with various privacy policies and ensures that user experience is not affected.
Firstly, Keyring only stores and shares users' credentials on their devices, and does not upload the credentials to the Huawei cloud server. Therefore, users are the sole data controller of their credentials. Huawei will not actively perform any actions that affect the security of user credentials, such as modifying or deleting them. Secondly, Keyring's privacy statement has been incorporated into the Statement About HMS Core and Privacy. Therefore, your app does not need to separately notify users about Keyring's privacy policies. You can visit our official website to view success stories from developers who have used Keyring to provide users with an excellent cross-app and cross-platform sign-in experience.
Application Scenarios​Cross-Platform Sign-In
Developers are increasingly releasing their apps on various different platforms. However, when users use an app on a different platform, they find themselves having to enter their sign-in information each time they want to sign in. Keyring provides apps on different platforms with corresponding APIs, including the Keyring SDK, quick app APIs, and web APIs, thus supporting credential sharing between apps across different platforms.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Take a shopping app as an example. Sending promotional messages to users during special events and national holidays is one of the most common marketing strategies and is also popular with users. A user signs in to the Android version of the shopping app and then receives a promotional message for a particular product. The user then taps the link in the message to open the web version of the app in HUAWEI Browser. Keyring automatically signs the user in, after which the user is free to start shopping.
Cross-App Sign-In
As developers mature and grow, most will end up developing multiple apps. However, it's not easy to acquire users for a new app. Once a developer releases a new app, Keyring serves as a bridge that efficiently connects users of the developer's existing apps to the new app. Thanks to this, users can seamlessly sign in to the new app with a single tap, without having to re-enter their account names and passwords.
Put simply, when a user signs in to existing app A and then installs new app B made by the same developer, the user can directly sign in to app B using the credentials saved by app A, without needing to enter their account name and password again.
Account Change
Keyring can store multiple credentials from the same user in an app. The app can provide a confirmation screen so that users can choose which account to sign in with, facilitating account change. In addition, developers can ask users to provide their biometric information or enter their lock screen passwords before they sign in, which effectively prevents security risks such as account spoofing.
Business Values​Keyring's cross-app sign-in functionality allows multiple apps made by the same developer to share users with each other, helping developers quickly boost the user base of their app. In addition, Keyring also allows developers to share users between their Android apps, quick apps, and web apps. By creating a seamless sign-in experience across different apps and platforms, Keyring helps developers simplify the sign-in process to shorten the user conversion path and improve the user conversion rate. Put simply, Keyring is a powerful tool that can help developers achieve business success.
Keyring's core features of providing smooth sign-in, data security, and user sharing are ideal for every type of app, whether it be shopping, travel, social media, or reading. In the future, Keyring will continue to add new features to its repertoire as HMS Core expands its security-related capabilities, and provide even more cutting-edge services for developers.
To learn more, please visit:
>> HUAWEI Developers official website
>> Development Guide
>> Reddit to join developer discussions
>> GitHub to download the sample code
>> Stack Overflow to solve integration problems
Follow our official account for the latest HMS Core-related news and updates.

Categories

Resources