huawei_iap 6.13.0+301 huawei_iap: ^6.13.0+301 copied to clipboard
HUAWEI IAP Kit plugin for Flutter. Huawei's In-App Purchases (IAP) service allows you to offer in-app purchases and facilitates in-app payment.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add huawei_iap
With Flutter:
$ flutter pub add huawei_iap
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
huawei_iap: ^6.13.0+301
Alternatively, 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:huawei_iap/huawei_iap.dart';