Skip to content

v3.1.2

Choose a tag to compare

@ren6 ren6 released this 13 May 10:54
· 24 commits to main since this release

What's new in v3.1.2:

  • [iOS] Fixed SKProductDiscount mapping: identifier and type are now forwarded to Flutter, and priceLocale is serialized correctly (it was hardcoded as an empty map before, which also affected introductoryPrice.priceLocale).
  • [iOS], [Dart] SKProductDiscountWrapper now exposes identifier (String?) and type (SKProductDiscountType enum: introductory / subscription).
  • [iOS], [Dart] SKProductWrapper now exposes the full discounts list in addition to introductoryPrice. This unblocks dynamic resolution of discountID for Apphud.purchasePromo without hardcoding it on the client side.
  • [iOS] checkEligibilityForIntroductoryOffer, checkEligibilityForPromotionalOffer, checkEligibilitiesForIntroductoryOffers and checkEligibilitiesForPromotionalOffers methods were implemented (previously stubbed and not wired up).