Installation
The Circadify Android SDK is a native Kotlin Android library for contactless vital sign measurement. Your app owns the UI, camera permission prompt, preview surface, and overlays. The SDK handles camera capture, scan quality checks, secure upload, and result polling.
Get package access
Section titled “Get package access”The SDK is distributed as a private Maven package on GitHub Packages. Ask Circadify to grant package read access to the GitHub user or service account that will install the SDK.
-
Send Circadify the GitHub username that needs package access.
-
Create a GitHub token for that user with the
read:packagesscope. -
Store the token outside source control as an environment variable or CI secret.
Gradle setup
Section titled “Gradle setup”Add the Circadify GitHub Packages Maven repository:
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven("https://maven.pkg.github.com/circadify/circadify-android-sdk") { credentials { username = System.getenv("GITHUB_ACTOR") password = System.getenv("GITHUB_TOKEN") } } }}Add the SDK dependency to your app module:
dependencies { implementation("com.circadify:circadify-android-sdk:0.1.1")}Manifest
Section titled “Manifest”The host app must declare camera and internet access. Mark camera hardware as optional unless every install target must have a camera.
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-permission android:name="android.permission.CAMERA" /><uses-permission android:name="android.permission.INTERNET" />Requirements
Section titled “Requirements”| Requirement | Value |
|---|---|
| Minimum Android version | API 24+ |
| Compile SDK | Android API 36 or newer |
| Language | Kotlin-first Android library |
| UI model | Headless SDK; your app renders preview and overlays |
| Camera stack | CameraX with a front camera |
| Processing model | Headless SDK-managed capture, quality checks, and cloud result polling |
| Default capture policy | 10 FPS analysis target, 150 minimum accepted frames |
Next Steps
Section titled “Next Steps”- Configuration - Initialize the SDK and register callbacks
- Performance & Device Support - Capture policy and lower-end device guidance
- Camera & Permissions - Request camera access correctly
- Methods - Start, cancel, and clean up measurements