Requirements
XCode 10.2+
Minimum target: iOS 9.0+
Installation
To use this plugin, add purchases_flutter
as a dependency in your pubspec.yaml file.
dependencies:
purchases_flutter: ^0.3.2
Importing Purchases
You should now be able import purchases_flutter
import 'package:purchases_flutter/purchases_flutter.dart';
Enable In-App Purchase for iOS projects
Don't forget to enable the In-App Purchase capability for your iOS project under
Project Target -> Capabilities -> In-App Purchase


Include BILLING permission for Android projects
Don't forget to include the
BILLING
permission in your AndroidManifest.xml file
<uses-permission android:name="com.android.vending.BILLING" />
Next Steps
- Now that you've installed the Purchases SDK in Flutter, get started by configuring an instance of Purchases
Updated about a year ago