ios_storekit2 0.0.2
ios_storekit2: ^0.0.2 copied to clipboard
Flutter plugin for iOS in-app purchases using StoreKit 2.
0.0.2 #
- Compatibility: lowered the package SDK constraint to
>=3.0.0 <4.0.0 - Compatibility: lowered
flutter_lintsin the package and example so the repo resolves on Dart 3.0 toolchains - Breaking:
SK2ProductType.oneTimewas replaced withSK2ProductType.consumableandSK2ProductType.nonConsumable - Breaking: subscription periods are now exposed canonically as
SK2Period(value, unit);periodDaysremains only as derived sugar - Breaking: intro offer eligibility is now modeled as
SK2EligibilityStatus, whileisTrialEligiblebecomesbool? - Added: canonical intro-offer fields
introOffer,introOfferEligibility,isIntroOffer, andintroOfferType - Added: richer purchase payloads with product type, transaction ids, ownership type, and purchase-related dates
- Fixed:
willAutoRenewnow matches the current subscription transaction instead of using the first status in the group - Fixed: iOS 15 no longer reports unknown intro-offer eligibility as
false - Docs: README now includes setup, usage, and migration notes for the new API
0.0.1 #
- Initial plugin scaffold