whats new in storekit
Generated on 7/31/2024
1 search
What's New in 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. Existing apps will continue to work, but no new features or enhancements will be added to the legacy API. Developers are encouraged to update to StoreKit 2.
-
Modern Language Features:
- Swift Async/Await: StoreKit 2 leverages modern Swift language features like async/await for tasks such as fetching product metadata, purchasing, and retrieving customer 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.
-
Merchandising Using SwiftUI:
- Subscription Store View: New features have been added to the subscription store view to enhance the merchandising of in-app purchases.
- View Modifiers: New view modifiers like
subscription promotional offer
andPreferred subscription offer
allow for more customization in displaying promotional offers and handling multiple eligible offers.
-
Testing Enhancements in Xcode:
- StoreKit Testing: Numerous updates have been made to StoreKit testing in Xcode, including the ability to test privacy policies and license agreements locally.
- Deferred Configuration: Developers can defer configuring products in App Store Connect until they have ensured the app behaves as expected, allowing them to focus on developing key features.
For more detailed information, you can watch the session What’s new in StoreKit and In-App Purchase.
Session: Implement App Store Offers
-
Win-Back Offers:
- New APIs: Updated subscription offer APIs to support Winback offers, which can be configured and tested using StoreKit.
- Streamlined Purchasing: Enhancements to streamline the purchasing process for Winback offers, making it easier for customers to redeem offers.
-
Merchandising Enhancements:
- StoreKit Views: Introduced at WWDC 2023, StoreKit views are ready-to-use APIs for displaying and merchandising in-app purchases. They now support displaying pricing details for all subscription offers, including Winback offers.
For more details, you can watch the session Implement App Store Offers.
Relevant Sessions
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.
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.