AppGallery Connect ExamplesAuth ServiceAndroid

Android

The Android Studio project contains the Java and Kotlin sample code for using Auth Service.

Sample Code

Find It on Gitee

Find It on GitHub

Java and Kotlin

Click here

Click here

NOTE

If you need to run the sample code directly, pay attention to the following points:

  1. Download the agconnect-services.json file of your app, and copy the file to your app's module directory of the demo project.
  2. Change the value of applicationid in the app-level build.gradle file in the demo project to your app package name.

For details, please refer to the README file of the demo project.

Search
Enter a keyword.