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

  1. 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.
  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.
  3. 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 and Preferred subscription offer allow for more customization in displaying promotional offers and handling multiple eligible offers.
  4. 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

  1. 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.
  2. 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

  1. What’s new in StoreKit and In-App Purchase
  2. Implement App Store Offers