in_app_purchase_android 0.3.6+12 in_app_purchase_android: ^0.3.6+12 copied to clipboard
An implementation for the Android platform of the Flutter `in_app_purchase` plugin. This uses the Android BillingClient APIs.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add in_app_purchase_android
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
in_app_purchase_android: ^0.3.6+12
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_android/in_app_purchase_android.dart';