store library

In-app purchases through the App Store and Google Play (the in_app_purchase plugin), for Services(purchases: ...).

Classes

PluginStoreGateway
The plugin itself.
StoreGateway
The in_app_purchase plugin's calls, so tests can fake the store.
StoreProductMetadata
Conversion of store metadata to display bindings; does not confer eligibility.
StorePurchaseService
StoreKit / Play Billing purchases. Subscribes to the store before any purchase, journals each transaction (queue) before verify checks it on the server, completes it with the store only once verified, and replays unverified transactions when started (ready).

Functions

pendingPurchaseOf(PurchaseDetails purchase) → PendingPurchase
purchase as a journal entry.