Skip to main content

zuraffa_purchase_android 0.1.1 copy "zuraffa_purchase_android: ^0.1.1" to clipboard
zuraffa_purchase_android: ^0.1.1 copied to clipboard

Android adapter for zuraffa_purchase — the Play Billing store behind a typed port, reached through package:in_app_purchase.

zuraffa_purchase_android #

The Android adapter of the zuraffa_purchase family: Play Billing, reached through package:in_app_purchase (in_app_purchase_android).

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

Use #

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

registerAndroidPurchaseDependencies(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 (AndroidPurchaseException) with a recoverable flag.

The adapter pins in_app_purchase_android: ^0.5.5, so the app's Android build resolves the current Play Billing implementation.

Develop #

flutter pub get
flutter test
0
likes
150
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Android adapter for zuraffa_purchase — the Play Billing store behind a typed port, reached through package:in_app_purchase.

Homepage
Repository (GitHub)
View/report issues

Topics

#purchase #in-app-purchase #play-billing #zuraffa

License

MIT (license)

Dependencies

flutter, in_app_purchase_android, zuraffa, zuraffa_purchase, zuraffa_purchase_platform

More

Packages that depend on zuraffa_purchase_android