Release 6.8.0 - Full OpenIAP Ecosystem Adoption
· 2 min read
Release 6.8.0 graduates flutter_inapp_purchase into the full OpenIAP ecosystem. The plugin now shares the same native stacks, type system, and tooling used by Expo IAP and the Kotlin Multiplatform SDK, giving Flutter teams a predictable upgrade path and richer diagnostics across both stores.
Highlights
-
Flutter In-App Purchase 6.8.0 graduates the project into the full OpenIAP ecosystem. The release ships with three dedicated native stacks:
- openiap-apple — StoreKit 2 implementation for Apple platforms
- openiap-google — Google Play Billing integration for Android
- openiap-gql — GraphQL helpers that drive types and tooling
From 6.8.0 onward, Flutter In-App Purchase stays in lockstep with these modules: Apple v1.2.2, Google v1.2.6, and GQL v1.0.8. That shared version alignment gives Flutter apps stable native compatibility and a unified type system straight from the OpenIAP schema.
Tooling and workflow
- Type generation, Podspecs, and Gradle builds all consume
openiap-versions.json
so dependency bumps require one edit.
Important changes
getProducts
,getSubscriptions
, andgetPurchaseHistories
are permanently removed. UsefetchProducts(ProductRequest(...))
andgetAvailablePurchases([PurchaseOptions(...)])
instead.- Purchase request helpers require explicit product types; passing the old “all” value throws an error to prevent invalid store calls.
- Transaction identifiers surfaced by the stores remain untouched. For new
server-side validation, rely on the unified
purchaseToken
exposed on every purchase record. - Transaction identifiers:
transactionId
is reinstated as the primary store reference (orderId
on Android, StoreKit transaction ID on iOS). Android’s genericid
is no longer repurposed for orders; when Google Play omits anorderId
(typical for consumables),transactionId
becomesnull
and clients should rely on the unifiedpurchaseToken
(Android purchase token / iOS JWS). This value is the canonical receipt for server validation. See the related react-native-iap discussion.
Installation
flutter pub add flutter_inapp_purchase:^6.8.0
References
- Closed pull requests for this cycle: #558, #559, #560
- Supporting commit: e92614ede2988c93ea3c750394154a7a31899e7d
- Learn more about the shared ecosystem: openiap.dev