
Integration Guide for iOS SDK
Jumio’s products allow businesses to establish the genuine identity of their users by verifying government-issued IDs in real-time. ID Verification, Selfie Verification and other services are used by financial service organizations and other leading brands to create trust for safe onboarding, money transfers and user authentication.
Release Notes
Please refer to our Change Log for more information. Current SDK version: 4.17.0
For technical changes that should be considered when updating the SDK, please read our Transition Guide.
Code Documentation
Full API documentation for the Jumio iOS SDK can be found here.
Setup
The basic setup is required before continuing with the following setup for the Jumio SDK. If you are updating your SDK to a newer version, please also refer to:
➡️ Changelog
➡️ Transition Guide
Dependencies
Via Cocoapods
Jumio supports CocoaPods as dependency management tool for easy integration of the SDK. You are required to use Cocoapods 1.11.0 or newer.
If you are not yet using Cocoapods in your project, first run:
sudo gem install cocoapods
pod init
Then update your local clone of the specs repo in Terminal to ensure that you are using the latest podspec files using:
pod repo update
Adapt your Podfile and add the pods according to the product(s) you want use. Check the following example how a Podfile could look like, with a list of all available Jumio pods:
Please do not include everything! Make sure to only use pods that provide to the services you need! It's only possible to add 1 core functionality, but as many addons as needed.
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '13.0'
use_frameworks! # Required for proper framework handling
#Core (always add):
pod 'Jumio/Jumio', '~>4.17.0' # Manual & DocFinder Capture
#Addons:
pod 'Jumio/Liveness', '~>4.17.0' # Liveness functionality
pod 'Jumio/DefaultUI', '~>4.17.0' # Default UI functionality
pod 'Jumio/NFC', '~>4.17.0' # NFC functionality
#All:
pod 'Jumio/All', '~>4.17.0' # All Jumio products with all available scanning methods
Via Swift Package Manager
Jumio supports Swift Package Manager for easy integration of the SDK for version 4.4.0 and above.
To integrate the Jumio SDK with Swift Package Manager, add this repo as a dependency to your project.
The Jumio SDK contains five different targets. Add them to your project based on the functionality that you need in your application.
#Core (always add):
Jumio # Manual & DocFinder Capture
#Addons:
JumioLiveness # Jumio liveness functionality
JumioDefaultUI # Default UI functionality
JumioNFC # NFC functionality
JumioLocalization # Adds strings for localization