nimbus_cashier 1.1.0
nimbus_cashier: ^1.1.0 copied to clipboard
Nimbus Cashier for Flutter — App Store and Google Play subscriptions verified by your Cashier app, gated on entitlements.
1.1.0 #
Paywalls designed in the Cashier console, drawn natively.
Cashier.presentPaywall(context, requiredEntitlement:, locale:, onPurchaseCompleted:, onRestoreCompleted:, onAnswer:, onDismiss:)shows the current offering's paywall full-screen and returns aPaywallResult;PaywallViewis the same paywall as a widget,PaywallContentdraws a document with your own purchase handling.- Every block type and variant,
look/look_selectedstyling, plan cards and badges, tabs, switches, carousels, countdowns, sheets, multi-screen flows, per-screen themes, background images and video, effects and entrances. Shares the server's fixture documents with the iOS and web SDKs. - Store-priced variables (
{{price}},{{period}},{{price_per_month}},{{trial}},{{savings}}, …). - Translations:
localize(doc, locale)/doc.localized(locale);PaywallViewuses the device's locale unless given one. - Paywall analytics:
viewandcloseevents (POST /paywalls/events), with the user's A/B experiment. - Answer capture: buttons with an
answercallonAnswerand post to/paywalls/responses. - Offerings are requested with
app_user_id;Offeringgainspaywall,paywallId,appNameandexperiment,Offeringsgainsexperiment.Cashier.shared.previewOffering(token)opens an editor draft. - New dependencies:
url_launcher,video_player,in_app_purchase_android(Play offer phases). Requires Flutter 3.27+.
1.0.0 #
First release.
- App Store (StoreKit 2) and Google Play purchases verified by your Nimbus Cashier app; entitlements, customer info (cached, streamed), log in / log out, restore.
- Offerings and packages from the console.