RevenueCat v4.0.0-RC.4 Release Notes
-
- Fourth RC for RevenueCat framework v4 ๐ 100% Swift framework + ObjC support.
- See our [RevenueCat V4 API update doc](Documentation.docc/V4_API_Migration_guide.md) for API updates.
โก๏ธ RC 4 introduces the following updates:
API changes:
๐ฅ Breaking changes:
- Replaced
checkPromotionalDiscountEligibility
withgetPromotionalOffer
, which returns aPromotionalOffer
. - ๐ฆ Renamed
Purchases/purchase(package:discount:)
and its variants toPurchases/purchase(package:promotionalOffer:)
. They now take aPromotionalOffer
instead of aStoreProductDiscount
. - โก๏ธ [Objective-C only]: Updated type of
StoreProduct.price
andStoreProductDiscount.price
fromNSDecimal
to the much more usefulNSDecimalNumber
.
โ Additions:
- โ Added
StoreProduct.ProductType
, andStoreProduct.ProductCategory
, which provide extra information about whether a product is a consumable, non-consumable, auto-renewable or non-auto-renewable subscription. - โ Added
currencyCode
toStoreProduct
andStoreProductDiscount
. - โ Added
localizedPriceString
toStoreProductDiscount
.
๐ Documentation:
- ๐ Documentation can be found in https://revenuecat-docs.netlify.app/documentation/Revenuecat.
- ๐ We've made several improvements to docstrings and added a few landing pages for the most important sections of the SDK.
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..