Skip to main content

One post tagged with "openiap"

View All Tags

Flutter In‑App Purchase 6.5.0

· One min read
Hyo
Maintainer of flutter_inapp_purchase & expo-iap

We’ve shipped 6.5.0 with improved iOS parity to OpenIAP, safer parsing, and stronger pre‑commit checks.

Highlights

  • iOS: channel method rename buyProductrequestPurchase (Dart updated accordingly)
  • Standardized error codes/messages via OpenIAP (OpenIapError.defaultMessage)
  • More robust product parsing when native returns numbers for string fields
  • Better restore flow: iOS runs syncIOS() then getAvailablePurchases()
  • iOS helpers: clearTransactionIOS, getPromotedProductIOS, requestPurchaseOnPromotedProductIOS
  • Pre‑commit hook now formats, analyzes, and runs tests by default

Podspec now requires openiap ~> 1.1.8. The example Podfile uses the CocoaPods CDN and can pin the git tag if the trunk index lags.

See CHANGELOG for details. Thanks for all the feedback and reviews!