What's new with StoreKit?
Generated on 7/30/2024
1 search

This post is brought to you by Tailscan,
the best devtool for Tailwind CSS.
What's New with StoreKit?
Session: What’s new in StoreKit and In-App Purchase
-
Core API Enhancements:
- Transaction History: Starting in iOS 18, the transaction history APIs now include finished transactions for consumables, which were previously not accessible.
- Deprecation of Original API: The original API for in-app purchases is deprecated starting with iOS 18. Developers are encouraged to update to StoreKit 2 for continued support and new features.
-
Merchandise Using SwiftUI:
- Subscription Store View: New features have been added to the subscription store view, allowing for better customization and merchandising of in-app purchases.
- Subscription Promotional Offer: A new view modifier called
subscriptionPromotionalOffer
allows developers to show promotional offers in the UI of a subscription store view.
-
Testing in Xcode:
- StoreKit Testing Enhancements: New features in Xcode 16 make it easier to test in-app purchase flows. This includes the ability to test privacy policies, license agreements, and localizations for subscription groups directly within Xcode.
- Deferred Configuration: Developers can defer configuring their products in App Store Connect until they have ensured their app behaves as expected.
-
Update to StoreKit 2:
- Modern Language Features: StoreKit 2 uses modern language features like the Swift Async/Await pattern for tasks such as fetching product metadata, purchasing, and retrieving transaction history.
- Back Deployment: Thanks to the back-deployed attribute in Swift, StoreKit 2 allows access to new App Store features even on devices with older operating systems.
Session: Implement App Store Offers
-
Updates to Offers:
- Offer Data in Server APIs: New fields in the App Store server APIs provide detailed information about offers, including offer identifier, offer type, and offer discount type.
- Win-Back Offers: New APIs and configurations to support win-back offers, which can be promoted on the App Store and redeemed by customers using streamlined purchasing.
-
Streamlined Purchasing:
- Testing Win-Back Offers: Developers can start adding support and testing win-back offers in their apps using StoreKit testing in Xcode.
For more detailed information, you can watch the sessions:

What’s new in StoreKit and In-App Purchase
Learn how to build and deliver even better purchase experiences using the App Store In-App Purchase system. We’ll demo new StoreKit views control styles and new APIs to improve your subscription customization, discuss new fields for transaction-level information, and explore new testability in Xcode. We’ll also review an important StoreKit deprecation.

Implement App Store Offers
Learn how to engage customers with App Store Offers using App Store Connect, as well as the latest StoreKit features and APIs. Discover how you can set up win-back offers (a new way to re-engage previous subscribers) and generate offer codes for Mac apps. And find out how to test offers in sandbox and Xcode to make sure they work smoothly.