Join us at Adapty Conf in Warsaw on June 13, 2024.
Secure your spot for free!
Glossary

StoreKit

StoreKit

Sergey Zubkov

Updated: July 27, 2023

2 min read

Content

StoreKit

Developers can use Apple’s StoreKit framework to incorporate in-app purchases (IAPs) into their apps on iOS, macOS, watchOS, and tvOS. The framework facilitates secure payment processing on behalf of the app, connecting with the AppStore and requesting user authorization for payments. The StoreKit framework and IAP APIs manage the entire purchase process, from retrieving product details to payment processing and product delivery. In addition, StoreKit enables:

  • Validating advertisement-driven app installations with ad network attribution
  • Providing recommendations for third-party content
  • Requesting App Store reviews and ratings from app customers
  • Display App Store messages in mobile apps

The purpose of iOS StoreKit is to simplify the management of in-app purchases, which has become increasingly complex in recent years. As apps have shifted from offering one-time purchases to recurring subscriptions with varying levels of features, durations, and pricing tiers, StoreKit has been developed to help developers handle the complexity of these subscription models.

How to configure In-App Purchase API (StoreKit) with Adapty

Adapty requires users to provide their In-App Purchase API details to ensure the secure and efficient management of in-app purchases for their app. Uploading an In-App Purchase API key is necessary for secure authentication and validation of transaction history requests for customers using Adapty to communicate with Apple. Additionally, iOS apps require an Issuer ID for customer lookup through Order ID.

The StoreKit implementation can be divided into three primary components: product setup, the purchase process on the device, and purchase verification. For a step-by-step guide, please refer to this resource.

Recommended posts