what's new in storekit
Generated on 8/2/2024
3 searches
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 the legacy API won't receive any enhancements or new features. Developers are encouraged to update to StoreKit 2 for better features and support.
-
Modern Language Features:
- Swift Async/Await: StoreKit 2 uses the Swift Async/Await pattern for tasks like fetching product metadata, purchasing, and retrieving customer transaction history.
- Back Deployed Attribute: This 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 help merchandise in-app purchases more effectively.
- View Modifiers: New view modifiers like
subscription promotional offer
andPreferred subscription offer
allow for better customization of the subscription store view.
-
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.
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 Win-back offers.
- Merchandising: Use StoreKit views to display and merchandise in-app purchases, including Win-back offers.
-
Streamlined Purchasing:
- Testing in Xcode: Use StoreKit testing in Xcode to test purchase intent, listener, and deferral logic.
For more details on implementing offers, 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.