The older API, StoreKit 1, which utilized the verifyReceipt
endpoint with base64 receipt and shared secret, is now deprecated. Developers are encouraged to transition to StoreKit 2. The new StoreKit 2 API uses an In-App Purchase key and authorizes requests with JWT tokens signed with a private key.
Transitioning to StoreKit 2 is streamlined with tools like Apphud, which offers comprehensive support for the new API. Learn more about setting up your iOS app with Apphud to work with StoreKit 2.
Apple has introduced several improvements to the StoreKit 2 API:
price
and currency
fields to the Transaction model, enhancing analytics precision.SKIncludeConsumableInAppPurchaseHistory
key to the app's Info.plist with a value of true
.Apple has introduced out-of-the-box Win Back offers to help recover churned subscribers. Developers can set up Win Back offers in App Store Connect, including eligibility rules, without requiring additional code.
These offers can be redeemed both in the app and on the App Store page.
Let's take a look at the eligibility criterias for customers. Developers can set up three criteria for Win Back offers.
Paid subscription duration
It is the minimum amount of time measured in months that a customer had paid for a subscription. This allows us to set up offers based on how long customers have been subscribed.
Time since last subscribed
This indicates the time that has passed since the last active subscription. Requires minimum and maximum values in months. This allows us to set up offers based on how long customers have been unsubscribed.
Wait between offers
This is an optional criteria. This indicates the minimum amount of time in months that must pass before the customer can redeem the offer again.
Introduced at WWDC 23, StoreKit views are basic built-in paywalls for subscription apps. WWDC 24 brings new styles for subscription plan selection:
Developers can customize each subscription plan card, although the current customization options may not suffice for production needs. For more robust paywall solutions, check out our Paywalls Gallery, featuring paywall designs and onboarding screens.
Apple has expanded the StoreKit configuration file to support new testing scenarios, including:
Additionally, Xcode now supports purchase intents to test promoted purchases initiated from the App Store page, including App Store offers and Win Back offers.
Xcode 16 received a significant update, introducing predictive AI code completion, support for Swift 6, and improved SwiftUI previews.
Apple has unveiled AdAttributionKit, a new framework for advertisers intended to replace the SKAN framework. Despite the new name, it retains the same core features: three postbacks, 64-bit conversion value, and privacy mechanisms, with added support for alternative app stores and re-engagement.
While WWDC 24 may not have introduced numerous major updates, it has brought several valuable enhancements across various APIs, frameworks, and tools. Apphud stays updated with the latest changes to ensure seamless integration and support for developers.