what is supported by only storekit2?

Generated on 8/3/2024

1 search

StoreKit 2 supports several features that are not available in the original StoreKit API. These include:

  1. Swift Async/Await Pattern: StoreKit 2 uses modern language features like the Swift Async/Await pattern to perform tasks such as fetching product metadata, purchasing, and retrieving customer transaction history.
  2. Automatic Cryptographic Validation: StoreKit 2 automatically performs cryptographic validation for you.
  3. Back Deployment: Thanks to the back-deployed attribute in Swift, StoreKit 2 allows you to access new App Store features even when your app is installed on a device with an older operating system.
  4. Enhanced Transaction History: StoreKit 2 provides a more comprehensive transaction history, including finished transactions for consumables, which were not accessible through the original API.
  5. Subscription Renewal Info: Customer transaction history and subscription renewal info are always available to your app.

For more details, you can refer to the session What’s new in StoreKit and In-App Purchase.