As a part of this week’s launch of iOS 15, iPadOS 15, and watchOS 8, Apple additionally launched StoreKit 2, a set of APIs for in-app purchases and subscriptions. The brand new Swift-based instruments might assist builders higher observe and help the purchases their customers make as an alternative of counting on third-party options like RevenueCat.
The equipment introduces new APIs to “decide product entitlements and eligibility for affords, rapidly get a person’s historical past of in-app purchases, discover out the most recent standing of a subscription with one easy verify,” and most significantly, provide a approach 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 weblog put up breaking down Apple’s adjustments, StoreKit 2’s options solely work when on units operating newer software program like iOS 15. Apps that also help older variations of Apple’s OS — and most of them will for fairly some time — are inspired to make use of the unique StoreKit. This divide might develop over time: Apple is permitting customers to remain on iOS 14 and simply obtain safety updates, and given how lengthy the corporate’s merchandise final, there’s seemingly numerous previous iPads and iPhones kicking round. Fortunately, StoreKit 2 and StoreKit are interoperable, “purchases made with the unique StoreKit API will nonetheless be accessible by the brand new StoreKit 2 transaction and renewal information APIs,” Apple writes.
These adjustments might make it loads simpler to supply conventional buyer help for the purchases made inside apps. For Apple, they’re one other small enticement for builders to supply some form of in-app buy or subscription, which financially advantages the corporate due to its more and more contentious 30 % reduce.