in_app_purchase_storekit
0.4.17, released 2 weeks ago by flutter.dev
iOS/macOS implementation of the in_app_purchase plugin using StoreKit.
What it does
Provides platform-specific code for the in_app_purchase plugin, handling StoreKit 1 and 2 purchases, subscriptions, and transaction management on iOS and macOS.
AI-written summary of version 0.4.17, based on the package's README and metadata. Report an inaccuracy
Use it when
- Using in_app_purchase on iOS or macOS
- Need to manage subscriptions via the App Store sheet
- Require StoreKit 2 features like intro offers
Skip it when
- Targeting only Android
- Using a different in-app purchase solution
Strengths
- Supports StoreKit 2 and 1, including subscription management
- Automatic inclusion via plugin endorsement
- Provides showManageSubscriptions for subscription management
Weaknesses
- Only works on iOS and macOS
- Requires the in_app_purchase plugin to be added as a dependency
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 4
Add in_app_purchase to pubspec.yaml; no additional native steps required.
import 'package:in_app_purchase_storekit/in_app_purchase_storekit.dart';
// The plugin is automatically included when in_app_purchase is added.
Alternatives
Packages that do the same job and could replace in_app_purchase_storekit.
- purchases_flutter
Flutter plugin for RevenueCat in‑app purchases and subscriptions across iOS, Android, web and macOS.
93Compare - pay
Integrate Apple Pay on iOS and Google Pay on Android with ready-made buttons.
92Compare - myket_iap
Myket In-App Purchase plugin for Android applications.
70Compare - pay_with_paystack
Flutter plugin for Paystack payments via WebView using public keys.
78Compare
Works with
Packages commonly used together with in_app_purchase_storekit: ones it builds on, ones built on it, and its own family.
- json_annotationin_app_purchase_storekit depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- in_app_purchaseBuilt on in_app_purchase_storekitFlutter plugin for making in-app purchases through the App Store and Google Play.
- codelessly_sdkBuilt on in_app_purchase_storekitRender server-driven UI layouts designed in the Codelessly Editor natively in Flutter.