Released iOS SDK 3.21
We have released version 3.21 of our SDK for iOS.
Added
Risk parameters
Added the following new risk parameters:
SSIDBSSIDGravityMagnetometerIsProxyEnabledIsVpnEnabledtimeZoneLocale
If you enable the SSID or BSSID risk parameters, you must add the required entitlement to your application's target in Xcode.
To learn how to do this, see Wi-Fi information (SSID and BSSID) in our Risk parameters feature documentation.
Invalid client data error code
Added the error code clientErrorClientDataInvalid for client data passed to the start authentication operation that:
- Exceeds 1024 bytes when UTF-8 encoded.
- Contains one or more 4-byte UTF-8 characters, including most emojis.
Changed
Minimum iOS version
Raised the minimum iOS version to 15.0.
Recovery method enum entry
Renamed the recovery method enum entry:
| Before | After |
|---|---|
RecoveryMethod.backup | RecoveryMethod.backupRecoveryCode |
You must replace all occurrences of RecoveryMethod.backup with RecoveryMethod.backupRecoveryCode in your code.
Invalidated authentication method error code
Changed the error code returned when an authentication method is deactivated locally due to invalidation, to align with Android:
| Before | After |
|---|---|
clientErrorAuthMethodUnavailable | clientErrorAuthMethodNotAllowed |
Removed
Authentication required error code
Removed SDK error code serverErrorAuthenticationRequired.