Meet the New RevenueCat SDK
Blog post from RevenueCat
The latest release of the iOS SDK, version 4, introduces significant updates, including a full migration from Objective-C to Swift, enabling StoreKit 2 features and Swift Concurrency support while maintaining compatibility with Objective-C. This version offers async/await alternatives to simplify code, introduces an AsyncStream for customer updates, and includes StoreKit wrappers to remain agnostic to StoreKit versions, allowing seamless feature implementation. The update enhances API consistency, clarity, and convenience with improved naming conventions and more informative docstrings. New APIs leverage StoreKit 2 for subscription management and refund requests, and the SDK is designed to automatically use StoreKit 2 where supported, with an option to enable it for all features. The release also includes a revamped documentation page and is the largest update to date, with numerous changes and contributions from the developer community, now in production across various apps.