Skip to content

VeryAI is now Very. Read the announcement.

Integration Paths /

Overview

View as Markdown

Liveness SDK

The Very Liveness SDK opens a guided palm challenge. It's a separate SDK from the Palm Verification SDK used for palm enrollment and verification; a liveness check does not enroll a user or create a persistent identity. On iOS, Android and the web alike, Very signs an assessment of the reported challenge evidence and your server checks it. The evidence does not independently prove a live person or a genuine camera input.

What you get#

  • Guided palm challenge: camera UI and hand tracking on the device, one API call
  • A decision signed by Very: your server confirms it before acting
  • No enrollment, no identity: a challenge assessment without creating a user identity
  • Configured in the Developer Portal: the number of taps and the saved instruction and privacy notice apply on every platform, with no code change
  • Independent of the Palm Verification SDK: use it on its own, or alongside palm verification when a product needs both

How it works#

  1. Create a Liveness app in the Developer Portal and a server secret for your server. On iOS and Android, the app also carries the app's SDK key.
  2. Your app calls check(). The SDK asks for a session, and your server creates it with Very using the server secret, which never leaves your server.
  3. The user completes the challenge. The SDK sends the hand data it measured (never an image) to Very, which evaluates it and signs its decision.
  4. Your server fetches that decision, checks the signature and only then acts on it.

This is how the web SDK works, and how the iOS and Android SDKs work from version 1.1.0. On the web, the SDK's requests to Very go through your server; the iOS and Android SDKs send them to Very directly. Earlier iOS and Android versions created sessions with the SDK key alone and returned no signed decision; to upgrade, see the iOS or Android guide.

Requirements#

iOS

  • iOS 13.0+
  • Swift 5.0+
  • Camera permission
  • Real device (no Simulator support)
  • A server that creates sessions

Android

  • Android 6.0 (API 23)+
  • Java/Kotlin 11 target, compileSdk 34+
  • Camera + Internet permissions
  • A server that creates sessions
  • Real device (the check needs a camera)

Web

  • Safari 16.4+, Chrome 91+ or Firefox 89+
  • HTTPS (or localhost)
  • Camera permission
  • Phone or desktop
  • A server that creates sessions

Get started#

GitHub repositories#