Sentinel iOS Integration Guide
This guide covers how to add Persona Sentinel SDK to your iOS project and how to use the SDK.
Integration
Requirements - Make sure the SDK is compatible
Your application needs to have a minimum deployment target set to iOS 15 or higher.
Dependencies - Adding Persona to your project
Install via Swift Package Manager
To install the SDK with Swift Package Manager:
- Select your project’s Swift Packages tab
- Click on the + to add a package
- Add the repository URL https://github.com/persona-id/sentinel-ios.git, and click Next
- Choose the package options version rule you want to use. We recommend the default (up to next major version), and click Next
- Check that the package is being added to the right target and click Finish.
Install via Cocoapods
To install the SDK with CocoaPods, add PersonaSentinel as one of your target dependencies in your Podfile:
ruby
Versioning
If you’re also using the Inquiries iOS SDK, ensure both implementations are using the same version of the SDK.
Usage
The Persona Sentinel SDK collects passive signals from customers via events. The following sections describe how to configure and trigger a Sentinel event.
Triggering a Sentinel Event
The Sentinel object is used to build and trigger an event.
Swift
You may trigger events using trigger() or triggerAsync() for an awaitable interface.

