SDK

iOS 4.1.0

iOS 4.1.0

API updates:



  • Added new method checkTrialOrIntroDiscountEligibility(product:), which allows you to check for intro or discount eligibility for a single StoreProduct.
    https://github.com/RevenueCat/purchases-ios/pull/1354




  • Added explicit parameter name for checkTrialOrIntroDiscountEligibility(productIdentifiers:).

    The existing method without the parameter name still work, but is now deprecated. Xcode will offer an auto fix-it for it.
    https://github.com/RevenueCat/purchases-ios/pull/1362




  • Made StoreProduct initializers public so they can be used for testing.



Other:


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