Improved
IOS SDK 4.0.0 Release
4 days ago by Nadia
Version 4.0.0 is a major update to the Castle iOS SDK. This release includes several improvements detailed below. Please review the breaking changes below before upgrading.
What's new
- Expanded device signals: Additional device signals collected for broader detection coverage.
- SDK protection: Added obfuscation to protect SDK internals from reverse engineering.
- Swift-native: Legacy Objective C parts of the SDK have been rewritten in Swift for improved stability and performance.
- Async configuration: New async variant of configure (configureAsync) that can be safely called from any thread or Swift Task.
Breaking changes
import Castlehas changed toimport CastleSDKCastle.configure()now throws instead of asserting on invalid configuration- New
Castle.configureAsync()for async configuration call createRequestToken()returnsnilinstead of an empty string when the SDK is not initialized- Minimum supported iOS version is now iOS 13
Resources
- GitHub Release
- iOS SDK v4 Migration Guide
- The release package includes Jazzy-generated API documentation with detailed technical reference for all public APIs.