3.9.4
Breaking Changes
- deprecate and remove
FTRQRCodeReader.videoOrientationFromInterfaceOrientationcausing API deprecation warnings due to the deprecatedAVCaptureVideoOrientation
New Features
1. Application Integrity Check Embedded into Enrollment and Authentication flow
Expose new feature which automatically transmits integrity check results, based on Apple's App Attest and Risk Assessment to the backend.
To enable automatic transmission of Application Integrity Check information to the backend during enrollment and authentication, provide an instance of IntegrityVerdictConfiguration to the FTRConfig initalizer during the SDK launch.
Please contact Futurae Support at support@futurae.com to enable it for your service.Application Integrity Check Embedded into Enrollment and Authentication flow
2. Pending Sessions API
Add new getPendingSessions method and corresponding FTRPendingSessions model.
3. Exchange Token Support (QR codes & URLs)
Added new FTRClient APIs to redeem exchange tokens obtained from QR codes or URLs:
exchangeTokenForSessionToken(_:): Validates an authentication exchange token and returns a session token.exchangeTokenForEnrollmentActivationCode(_:)- Validates an activation exchange token and returns an enrollment activation code.
Exchange token parsing utilities
Added new FTRUtils helpers to extract authentication and activation exchange token data from QR codes, URLs, and URIs, eliminating the need for manual parsing:
authTokenExchangeFromQR(_:)activationTokenExchangeFromQR(_:)authTokenExchangeFromURL(_:)activationTokenExchangeFromURL(_:)
These methods return strongly typed exchange-token data objects, including the exchange token value and expiration timestamp.
Extended QR code type support
Added new FTRQRCodeType cases to explicitly represent exchange-token flows:
activationTokenExchangeauthTokenExchange
Extended URL type support
Added new FTRURLType cases for exchange-token URLs:
activationExchangeTokenauthenticationExchangeToken
These additions enable a complete exchange-token flow, allowing apps to:
- Extract an exchange token from a QR code or URL
- Redeem it via FTRClient
- Receive a valid session token or enrollment activation code
Additions
- Add new
enrollAndGetAccountmethod that returns the account upon successful enrollment - Added new supported URI
FTRURLType.usernamelessAuthto handle usernameless authentication and transaction confirmation.FTRUtilshas been enhanced to support this new URI.
Fixes
- Resolved an issue with the SDK method haveBiometricsChanged, which could return inconsistent results when called from an app extension (e.g., Notification Service Extension).
The method has been reimplemented to ensure consistent behavior across both the main app and app extensions.
Behavior Changes
[Changed] SDK will track biometrics changes only under biometrics lock configuration or in SDK PIN lock configuration when biometrics are activated