Skip to content

iOS setup

The plugin depends on VerisoulSDK and supports both CocoaPods and Swift Package Manager through the plugin package metadata.

After installing the plugin, sync the native project:

Terminal window
npx cap sync ios

Verisoul recommends enabling App Attest for stronger device checks. In Xcode, add the App Attest capability and include the entitlement value that matches your environment:

<key>com.apple.developer.devicecheck.appattest-environment</key>
<string>production</string>

Use development for test builds.

Initialize Verisoul early in your app lifecycle:

import { Verisoul } from '@capgo/capacitor-verisoul';
await Verisoul.configure({
environment: 'prod',
projectId: 'YOUR_PROJECT_ID',
});

If you are using iOS setup to configure Verisoul, connect it with Getting Started for app integration, Android setup for Android parity, and @capgo/capacitor-verisoul for the API overview.