What are the store kit announcements?

Asked on 07/27/2024

1 search

Tailscan

This post is brought to you by Tailscan, the best devtool for Tailwind CSS.

StoreKit Announcements at WWDC 2024

Session: What’s new in StoreKit and In-App Purchase

  • Core API Enhancements:
    • The transaction history APIs now include finished consumable transactions, starting from iOS 18.
    • The Swift Async/Await pattern is now supported for tasks like fetching product metadata, purchasing, and retrieving customer transaction history.
    • The back-deployed attribute in Swift allows access to new App Store features even on devices with older operating systems.
  • Merchandising using SwiftUI:
    • New features for customizing the subscription store view.
    • Introduction of StoreKit views for building in-app purchase UI.
  • Testing in Xcode:
    • Enhancements to StoreKit testing in Xcode, including the ability to test privacy policies and license agreements locally.
  • Update to StoreKit 2:
    • Encouragement to update apps to use StoreKit 2 for a better in-app purchase experience.

Session: Implement App Store Offers

  • Updates to Offers:
    • New fields in the App Store server APIs for offer data, including offer identifier, offer type, and offer discount type.
    • New view modifier called subscriptionPromotionalOffer for showing promotional offers in the subscription store view.
  • Introducing Win-back Offers:
    • Overview of Win-back offers and how to configure them.
    • Support for Win-back offers in iOS 18 using StoreKit messages.
    • New view modifier PreferredSubscriptionOffer to control which offer to display when multiple offers are available.

Session: Explore App Store server APIs for In-App Purchase

  • App Store Server Library:
    • The App Store server library is now the recommended way to use the App Store server APIs.
    • The library is open source and available in Java, Python, Node.js, and Swift.
    • Encouragement to join the developer community on GitHub for feedback and contributions.

Relevant Sessions

  1. What’s new in StoreKit and In-App Purchase
  2. Implement App Store Offers
  3. Explore App Store server APIs for In-App Purchase

For more detailed information, you can watch the sessions using the provided links.