purchasely_flutter 4.3.4 copy "purchasely_flutter: ^4.3.4" to clipboard
purchasely_flutter: ^4.3.4 copied to clipboard

Purchasely is a solution to ease the integration and boost your In-App Purchase & Subscriptions on the App Store, Google Play Store and Huawei App Gallery.

Purchasely

Purchasely #

Purchasely is a solution to ease the integration and boost your In-App Purchase & Subscriptions on the App Store, Google Play Store and Huawei App Gallery.

Installation #

dependencies:
  purchasely_flutter: ^1.1.0

Usage #

import 'package:purchasely_flutter/purchasely_flutter.dart';

// ...

bool configured = await Purchasely.startWithApiKey(
    'YOUR_API_KEY',
    ['Google'],
    null, // your user id
    PLYLogLevel.debug,
    PLYRunningMode.full
  );

var result = await Purchasely.presentProductWithIdentifier('YOU_PRODUCT_ID');
print('Result : $result');
if (result.result == PLYPurchaseResult.cancelled) {
  print("User cancelled purchased");
} else {
  print('User purchased: ${result.plan.name}');
}

🏁 Documentation #

A complete documentation is available on our website https://docs.purchasely.com

4
likes
110
pub points
79%
popularity

Publisher

unverified uploader

Purchasely is a solution to ease the integration and boost your In-App Purchase & Subscriptions on the App Store, Google Play Store and Huawei App Gallery.

Homepage

Documentation

API reference

License

unknown (LICENSE)

Dependencies

collection, flutter

More

Packages that depend on purchasely_flutter