appactor_flutter 0.0.4 copy "appactor_flutter: ^0.0.4" to clipboard
appactor_flutter: ^0.0.4 copied to clipboard

AppActor Flutter SDK — server-authoritative in-app purchase management for iOS and Android.

AppActor
In-App Purchase Infrastructure
for Flutter

AppActor handles in-app purchases, subscriptions, and entitlements so you can focus on building your app. One SDK for both iOS and Android.

Installation #

dependencies:
  appactor_flutter: ^0.0.4

Quick Start #

import 'package:appactor_flutter/appactor_flutter.dart';

// Configure once
await AppActor.instance.configure('pk_YOUR_API_KEY');

// Fetch offerings
final offerings = await AppActor.instance.getOfferings();

// Make a purchase
final result = await AppActor.instance.purchasePackage(
  offerings.current!.monthly!,
);

// Check entitlements
final info = await AppActor.instance.getCustomerInfo();
final isPremium = info.hasActiveEntitlement('premium');

Purchase Sync In 0.0.4 #

// Native 0.0.4 sync behavior:
// drains the receipt queue, then refreshes customer info.
final refreshed = await AppActor.instance.syncPurchases();

// New in Flutter 0.0.4:
// lightweight sync without draining the receipt queue.
final quiet = await AppActor.instance.quietSyncPurchases();

// Explicit queue-drain API exposed by the native plugins.
final drained = await AppActor.instance.drainReceiptQueueAndRefreshCustomer();

Platform Notes #

  • Call enableSearchAdsTracking() before configure() if you use Apple Search Ads attribution on iOS.
  • Call enableInstallReferrer() after configure() if you want Google Play Install Referrer support on Android.
  • iOS-only APIs such as presentOfferCodeRedeemSheet(), getAsaDiagnostics(), and purchaseFromIntent() throw UnsupportedError on non-iOS platforms.

Documentation #

Visit appactor.com/docs for full documentation.

Contributing #

  • Open an issue for bug reports or feature requests
  • Email us at sdk@appactor.com

License #

MIT License. See LICENSE for details.

0
likes
0
points
607
downloads

Publisher

verified publisherappactor.com

Weekly Downloads

AppActor Flutter SDK — server-authoritative in-app purchase management for iOS and Android.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on appactor_flutter

Packages that implement appactor_flutter