Overview

Hawcx SDK delivers revolutionary Smart Connect technology - the most intuitive passwordless authentication ever created for iOS 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: [
    .package(url: "https://github.com/hawcx/hawcx_ios_sdk", .upToNextMajor(from: "4.0.0"))
]
Or add it directly in Xcode:
  1. Select File > Add Packages…
  2. Enter the package URL: https://github.com/hawcx/hawcx_ios_sdk
  3. Select “Up to Next Major Version” with version “4.0.0”
  4. Click “Add Package”
2

Initialize SDK

import HawcxFramework

// Initialize with your project API key
let hawcxSDK = HawcxSDK(projectApiKey: "YOUR_API_KEY")
3

Implement Smart Connect authentication:

Core Features

Troubleshooting

Error Codes

Error CodeDescription
networkErrorNetwork connectivity issue or request timeout
unknownErrorUnexpected error occurred
invalidInputInvalid email or userid format
keychainSaveFailedFailed to save data to iOS Keychain
clientCryptoErrorCryptographic operation failed on device
fingerprintErrorFailed to generate device fingerprint
authInitFailedAuthentication initialization failed
otpVerificationFailedInvalid or expired OTP
deviceVerificationFailedDevice registration verification failed
cipherVerificationFailedLogin cipher verification failed
internalStateErrorSDK internal state corruption
missingDeviceTokenSessionSession token missing during flow
missingEr1r2ForRegistrationCryptographic keys missing
missingCryptoForLoginDevice keys not found for login
missingPersistentDeviceTokenDevice token not found

Support