As part of the launch of iOS 15, Apple has also updated its set of APIs for in-app purchases and subscriptions with the release of StoreKit 2.
StoreKit 2’s new Swift-based tools will be quite useful for developers as they will allow them to more easily track and support their customer’s purchases as opposed to having to rely on third-party solutions such as RevenueCat.
According to a new blog post from Apple, the new tools in StoreKit 2 will give developers everything they need to determine product entitlements and eligibility for special offers, quickly get a user’s in-app purchase history, provide a way to request refunds and manage subscriptions from within their apps and more.
StoreKit 2 also utilizes Switch concurrency and JSON Web Signature to simplify how developers retrieve product information and handle transactions.
Interoperability
In a separate blog post, RevenueCat highlighted the fact that StoreKit 2’s features will only work with devices running iOS 15.
As a result, developers whose apps still support older versions of iOS are encouraged to use the original StoreKit instead. Thankfully though, both StoreKit 2 and StoreKit are interoperable and purchases made using the original API are still able to be accessed using the new APIs.
The release of StoreKit 2 will likely lead to developers and small businesses adding even more in-app purchases as well as subscription offerings to their apps which could lead to some interesting new consumer experiences.
Apple though will still receive 30 percent of any purchases made by an app’s users despite continued controversy surrounding the company’s large cut of developer revenue.
Via The Verge