Overview

Hawcx SDK delivers revolutionary Smart Connect technology - the most intuitive passwordless authentication ever created for Android applications. Smart Connect intelligently handles both sign up and sign in through a single, unified interface, eliminating decision fatigue while maintaining enterprise-grade security.

Smart Connect Technology

One-click intelligent authentication that automatically determines user context

Contextual Intelligence

No more “Sign Up” vs “Sign In” confusion - just one smart entry point

Seamless Cross-Platform

Smart Connect maintains user context across all devices and platforms

Web Login Approval

Allow users to approve web logins from their mobile device

Enterprise-Grade Security

Revolutionary security with consumer-grade simplicity

Architecture

Quick Start

1

Installation

dependencies {
    implementation 'com.hawcx:hawcx-android-sdk:4.0.0'
}
2

Initialize SDK

import com.hawcx.internal.HawcxSDK

class MainApplication : Application() {
    companion object {
        lateinit var hawcxSdkInstance: HawcxSDK
            private set
    }

    override fun onCreate() {
        super.onCreate()
        
        // Initialize Hawcx SDK with your project API key
        hawcxSdkInstance = HawcxSDK(
            context = this.applicationContext,
            projectApiKey = "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 Smart Connect authentication:

Core Features

Troubleshooting

Error Codes

Error CodeDescription
FINGERPRINT_ERRORFailed to generate device fingerprint
KEYCHAIN_SAVE_FAILEDFailed to save data to Android Keystore
CLIENT_CRYPTO_ERRORCryptographic operation failed on device
AUTH_INIT_FAILEDAuthentication initialization failed
OTP_VERIFICATION_FAILEDInvalid or expired OTP
DEVICE_VERIFICATION_FAILEDDevice registration verification failed
CIPHER_VERIFICATION_FAILEDLogin cipher verification failed
NETWORK_ERRORNetwork connectivity issue or request timeout
INTERNAL_STATE_ERRORSDK internal state corruption
MISSING_DEVICE_TOKEN_SESSIONSession token missing during flow
UNKNOWN_ERRORUnexpected error occurred

Support