in_app_purchase_storekit 0.3.20+2 in_app_purchase_storekit: ^0.3.20+2 copied to clipboard
An implementation for the iOS and macOS platforms of the Flutter `in_app_purchase` plugin. This uses the StoreKit Framework.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add in_app_purchase_storekit
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
in_app_purchase_storekit: ^0.3.20+2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:in_app_purchase_storekit/in_app_purchase_storekit.dart';