masamune_purchase_firebase 0.14.0+2 masamune_purchase_firebase: ^0.14.0+2 copied to clipboard
Plugin that extends the billing system plugin to the processing by the server (Firebase). Firebase Functions are required.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add masamune_purchase_firebase
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
masamune_purchase_firebase: ^0.14.0+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:masamune_purchase_firebase/masamune_purchase_firebase.dart';