Skip to main content
SDK

iOS 4.0.0-rc.4

  • February 22, 2022
  • 0 replies
  • 61 views
iOS 4.0.0-rc.4
RC Support
RevenueCat Staff
Forum|alt.badge.img+3
  • Fourth RC for RevenueCat framework v4 🎉
    100% Swift framework + ObjC support.

Full Changelog

RC 4 introduces the following updates:

API changes:

Breaking changes:

  • Replaced checkPromotionalDiscountEligibility with getPromotionalOffer, which returns a PromotionalOffer.
  • Renamed Purchases/purchase(package:discount:) and its variants to Purchases/purchase(package:promotionalOffer:). They now take a PromotionalOffer instead of a StoreProductDiscount.
  • [Objective-C only]: Updated type of StoreProduct.price and StoreProductDiscount.price from NSDecimal to the much more useful NSDecimalNumber.

Additions:

  • Added StoreProduct.ProductType, and StoreProduct.ProductCategory, which provide extra information about whether a product is a consumable, non-consumable, auto-renewable or non-auto-renewable subscription.
  • Added currencyCode to StoreProduct and StoreProductDiscount.
  • Added localizedPriceString to StoreProductDiscount.

Documentation:

Other changes:

  • There are lots of under the hood improvements. If you see any issues we'd appreciate bug reports!

Changes from previous RC

These changes add to all of the changes from beta RC 2, listed here.

To view new release, visit https://github.com/RevenueCat/purchases-ios/releases/tag/4.0.0-rc.4

This post has been closed for comments

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings