pp_inapp_purchase 1.0.4
pp_inapp_purchase: ^1.0.4 copied to clipboard
Flutter in-app purchase plugin, supporting iOS (StoreKit2) and Android platforms, providing a unified API interface to manage in-app purchase functionality.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pp_inapp_purchaseWith Flutter:
$ flutter pub add pp_inapp_purchaseThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pp_inapp_purchase: ^1.0.4Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pp_inapp_purchase/inapp_purchase.dart';
import 'package:pp_inapp_purchase/inapp_purchase_method_channel.dart';
import 'package:pp_inapp_purchase/inapp_purchase_platform_interface.dart';