What’s new in StoreKit?

Asked on 06/18/2025

1 search

In the WWDC sessions titled "What’s new in StoreKit and In-App Purchase," several updates and new features were introduced for StoreKit:

  1. StoreKit Configuration in Xcode 16: You can now test your app's privacy policy and license agreement locally. This is done through the StoreKit Configuration file editor, which also allows testing localizations for subscription group display names.

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

  3. Subscription Status API: A new API allows querying subscription status using a transaction ID, providing more flexibility in managing subscriptions.

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

  5. SwiftUI and StoreKit Views: New ways to merchandise subscriptions using SwiftUI and StoreKit views were introduced, allowing for more engaging and customizable user interfaces.

  6. App Store Server Library: This library can be used to sign in-app purchase requests, making the process easier and more secure.

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

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