As a part of this week’s launch of iOS 15, iPadOS 15, and watchOS 8, Apple also introduced StoreKit 2, a set of APIs for in-app purchases and subscriptions. The brand new Swift-based instruments may assist builders higher observe and assist the purchases their customers make as an alternative of counting on third-party options like RevenueCat.
The kit introduces new APIs to “determine product entitlements and eligibility for offers, quickly get a user’s history of in-app purchases, find out the latest status of a subscription with one simple check,” and most significantly, provide a method for customers to handle subscriptions and request refunds in-app. Apple can be updating the App Retailer server API and App Retailer server notifications so builders can know when a person’s subscription expires in actual time and presumably provide a free extension.
As RevenueCat notes in a blog post breaking down Apple’s changes, StoreKit 2’s options solely work when on units working newer software program like iOS 15. Apps that also assist older variations of Apple’s OS — and most of them will for fairly some time — are encouraged to use the original StoreKit. This divide may develop over time: Apple is permitting customers to stay on iOS 14 and just receive security updates, and given how lengthy the corporate’s merchandise final, there’s doubtless numerous outdated iPads and iPhones kicking round. Fortunately, StoreKit 2 and StoreKit are interoperable, “purchases made with the original StoreKit API will still be accessible through the new StoreKit 2 transaction and renewal info APIs,” Apple writes.
These adjustments may make it rather a lot simpler to supply conventional buyer assist for the purchases made inside apps. For Apple, they’re one other small enticement for builders to offer some sort of in-app buy or subscription, which financially advantages the corporate due to its more and more contentious 30 % reduce.