Overview

Hawcx SDK provides next-generation passwordless authentication for your Android applications. With Hawcx, you can implement secure, frictionless authentication that works seamlessly across all user devices.

Passwordless Authentication

Eliminate password vulnerabilities and user friction

Multi-Device Support

Enable users to securely access their accounts across all their devices

Enterprise-Grade Security

Protect user accounts with advanced security protocols

Web Login Approval

Allow users to approve web logins from their mobile device

Biometric Integration

Leverage biometric authentication for additional security

Architecture

Quick Start

1

Installation

dependencies {
    implementation files('libs/hawcx-3.0.0.aar')
}
2

Initialize SDK

import com.hawcx.internal.HawcxInitializer

class YourApplication : Application() {
    override fun onCreate() {
        super.onCreate()
        
        // Initialize Hawcx SDK with your API key
        HawcxInitializer.getInstance().init(
            context = this,
            apiKey = "YOUR_API_KEY"
        )
    }
}

Don’t forget to register your Application class in the AndroidManifest.xml:

<application
    android:name=".YourApplication"
    ...>
    <!-- Activities and other components -->
</application>
3

Implement authentication using methods below:

Core Features

Troubleshooting

Error Codes

Error CodeDescription
USER_ALREADY_EXISTSUser is already registered in the system
VERIFY_OTP_FAILEDInvalid or expired OTP
GENERATE_OTP_FAILEDFailed to generate or send OTP
NETWORK_ERRORConnection or server error
UNKNOWN_ERRORUnspecified error

Try it out!

Support