Skip to content
veriffy
RUEN

SDK overview

An SDK opens the verification page inside your website or app and tells your interface how it ended.

How the SDKs work

Every SDK is a thin wrapper around the same verification page: an iframe on a website, a WebView in an app. Capture, quality checks and the decision happen on the verification page and on VERIFFY servers, so new steps and fixes reach you without an app update.

The SDKs call nothing except the verification address you pass in: no analytics and no third-party requests.

Platforms

Platform Package Requirements
Website @veriffy/web Modern browsers; Safari on iOS 14.3 or later
iOS VeriffySDK (Swift Package) iOS 14 or later (camera from 14.3), Xcode 15
Android me.veriffy.sdk minSdk 24, compileSdk 35
React Native @veriffy/react-native React Native 0.72 or later, react-native-webview 13.8 or later
Flutter veriffy_flutter Flutter 3.24 or later

If you do not need an SDK, you can simply send the user a link.

Where to get the SDKs

All packages are in one archive:

https://veriffy.me/downloads/veriffy-sdk.zip

Inside are the web, ios, android, react-native and flutter folders, each with its own README. The packages are added from the folder; each platform page shows how.

The common flow

  1. The app or website asks your server to start a verification.
  2. The server calls POST /v1/sessions and returns only the url to the client.
  3. The client passes the url to the SDK. The SDK opens the verification.
  4. When the verification closes, the SDK reports one of three outcomes: completed, cancelled or failed.
  5. The server receives the decision as a webhook.

Do not grant access on the SDK result

The SDK result is for your interface: show "thank you, we are checking" or a "try again" button. The decision comes later and can change, so change the user's rights only on the server — on the verification.decided webhook.

What exactly the SDK reports and which events arrive along the way is in Results and events.

Start typing: a section name, a parameter or an error code

↑↓ selectEnter openEsc close