Risk Analysis is an optional Incode feature, built in collaboration with Sardine, that adds fraud and risk signals to your onboarding flow.
On iOS, Risk Analysis is enabled by linking the Risk Analysis build variant. Once the feature is linked and the SDK runs in standard mode, setup is automatic: the SDK retrieves the Sardine configuration from Incode's backend, initializes Sardine's SDK internally, and results become available on the Sardine dashboard after the flow completes. No manual token exchange or additional integration code is required.
Prerequisites
Risk Analysis depends on Sardine. View Sardine's Getting Started documentation for background on the risk signals it provides. Accessing Sardine's documentation requires Sardine credentials; see their getting API access guide.
{/* Eng: Do iOS integrators need Sardine credentials? Is there a reason they'd need to look at the Sardine docs? */}
Set Up Risk Analysis
To use Risk Analysis on iOS, you must link an SDK build variant that includes the Risk Analysis feature: the -ra variant suffix. Risk Analysis code is compiled out of variants that do not include this feature. Choose the variant that includes Risk Analysis when installing the SDK, then run the SDK in .standard mode.
No integrator code is required beyond linking the -ra variant.
What Happens Automatically
When the -ra variant is linked and sdkMode is .standard, the SDK initializes Risk Analysis automatically during session setup:
- It requests the Sardine configuration (client ID, session key, user ID, and environment) from Incode's backend.
- It initializes Sardine's SDK internally with that configuration.
- It reports screen activity to Sardine as the flow progresses.
In Capture-Only mode, the automatic Risk Analysis setup does not run.
See Risk Analysis on the Sardine Dashboard
After the flow completes, Risk Analysis results are available in the Sardine dashboard. Contact your Incode representative for access.
For help, see API Reference or contact your Incode representative.