Skip to main content

zuraffa_purchase_macos 7.6.1 copy "zuraffa_purchase_macos: ^7.6.1" to clipboard
zuraffa_purchase_macos: ^7.6.1 copied to clipboard

PlatformiOSmacOS

macOS adapter for zuraffa_purchase - the StoreKit store behind a typed port, reached through package:in_app_purchase.

zuraffa_purchase_macos #

The macOS adapter of the zuraffa_purchase family: StoreKit, reached through package:in_app_purchase (in_app_purchase_storekit).

Part of the zuraffa_purchase federated monorepo, built on the Zuraffa framework.

Use #

import 'package:zuraffa_purchase_macos/zuraffa_purchase_macos.dart';
import 'package:zuraffa_purchase/zuraffa_purchase.dart';

registerMacosPurchaseDependencies(getIt); // the StoreApi on the locator
registerPurchaseDependencies(getIt); // the port, the service, the store

Afterwards the app resolves PurchaseService and PurchaseSubscriptionStore from the locator like any other Zuraffa service. Native failures are classified into a typed taxonomy (MacosPurchaseException) with a recoverable flag.

The adapter pins in_app_purchase_storekit: ^0.4.15 — past 0.4.13, so the app's macOS build carries none of the StoreKit 1 deprecation warnings (SKPaymentTransaction, SKPayment, SKProduct).

Develop #

flutter pub get
flutter test
0
likes
160
points
2.46k
downloads

Documentation

API reference

Publisher

verified publisherzuraffa.com

Weekly Downloads

macOS adapter for zuraffa_purchase - the StoreKit store behind a typed port, reached through package:in_app_purchase.

Homepage
Repository (GitHub)
View/report issues

Topics

#purchase #in-app-purchase #storekit #zuraffa

License

MIT (license)

Dependencies

flutter, in_app_purchase, in_app_purchase_storekit, zuraffa, zuraffa_purchase, zuraffa_purchase_platform

More

Packages that depend on zuraffa_purchase_macos