/android-identification

Sample application of authentication services, phone number and others.

Primary LanguageJava

Android Identification

HMS

Auth Service

Dependencies

implementation 'com.huawei.agconnect:agconnect-core:1.4.1.300'
implementation 'com.huawei.agconnect:agconnect-auth:1.4.1.300'

Mobile Number

Common errors
  • Error: code: 2 message: java.security.InvalidParameterException: url is null.

  • Solution: Enable Auth Service (AG Console) and update agconnect-services.json

  • Error: code: 203818052 message: verify code action is invalid.

  • Solution: Add .action(VerifyCodeSettings.ACTION_REGISTER_LOGIN)

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4