Xamarin(Android) Application with Account Kit

Search This thread

Freemind R

Official Huawei Rep
Apr 14, 2020
383
77
Overview

Using Huawei Account Kit, developers can easily sign-in with their Huawei Id. It provides simple, secure and quick sign-in feature. Once user is logged-in, it provides silent sign-in feature so users do not need to enter the user-id and password again and again. Users can sign-in with Huawei ID and authorization code both.

Huawei Account Kit serves 190 countries with more than 70 languages and 500 million user base.

Let us start with the project configuration part

There are 9 steps in total:

Step 1: Create an app on App Gallery Connect and enable the Auth service and Account Kit in Manage API section.

Step 2: Create Android Binding Libraries for Xamarin.

Step 3: Integrate Libraries for your Xamarin project.

Step 4: Change your app package name same as AppGallery app’s package name.

a) Right click on your app in Solution Explorer and select properties.

b) Select Android Manifest on lest side menu.

c) Change your PACKAGE NAME as shown in below image.

0890091000000002368.20201231110513.85140329221884201551089271868170:50520113030700:2800:61DFC813935F5A6F098B46FF22301C288F124B7154BB2863A7700ED652861340.png



More details, you can check https://forums.developer.huawei.com/forumPortal/en/topic/0203447942224500103