Storekit updates

Asked on 06/11/2025

1 search

At WWDC, Apple introduced several updates to StoreKit and In-App Purchase. Here are some of the key updates:

  1. StoreKit Configuration in Xcode 16: You can now test your app's privacy policy and license agreement locally. This feature is available in the StoreKit Configuration file editor under the new app Policy section. Additionally, you can test localizations for your subscription groups' display names.

  2. Deprecation of Original In-App Purchase API: Starting with iOS 18, the original API for in-app purchases is deprecated. Apple recommends updating to StoreKit 2, which offers improvements like automatic cryptographic validation and modern language features such as Swift's async/await pattern.

  3. Transaction History API Enhancements: The transaction history APIs now include finished consumable transactions, which were previously not accessible. This feature can be enabled via your project's info plist file.

  4. New Subscription Status API: Introduced in iOS 18.4, this API allows querying subscription status using a transaction ID. New fields have been added to the Renewal info type, including app transaction ID and offer period.

  5. Advanced Commerce API: StoreKit 2 now supports the Advanced Commerce API, which is useful for apps with large content catalogs and subscriptions with optional add-ons.

  6. Winback Offers: A new type of subscription offer designed to recover churned subscribers. These offers can be customized and promoted on the App Store.

  7. SwiftUI Integration: New StoreKit views for SwiftUI, including a subscription offer view, are available to help engage customers and merchandise subscriptions effectively.

For more detailed information, you can refer to the session What’s new in StoreKit and In-App Purchase (21:06) which covers updates to StoreKit 2.