SDK

iOS 4.2.1

iOS 4.2.1

Version 4.2.1 changes:


  • Fixed a potential race condition when syncing user attributes #1479

Version 4.2.0 changes:


API updates:



  • Added new method setMixpanelDistinctID as a convenience method for setting the required attribute for the Mixpanel integration #1397




  • getPromotionalOffer has been deprecated in favor of promotionalOffer #1405




  • getEligiblePromotionalOffers has been deprecated in favor of eligiblePromotionalOffers #1405




  • StoreProductDiscount now includes the numberOfPeriods property #1428



Other:



  • Added workaround for StoreKit 1 incorrectly reporting purchase cancellations #1450




  • MagicWeatherSwiftUI now includes an example for using purchases(:shouldPurchasePromoProduct:defermentBlock:) #1459




  • Various documentation improvements




  • Additional under-the-hood improvements, continuing to focus on network requests and tests.



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