Skip to content

Releases: RevenueCat/purchases-ios

4.31.8

10 Jan 17:35
Compare
Choose a tag to compare

RevenueCatUI

  • Paywalls: remove unscrollable spacing in Template 5 (#3562) via NachoSoto (@NachoSoto)
  • Paywalls: improve template 5 checkmark icon (#3559) via NachoSoto (@NachoSoto)

Bugfixes

Other Changes

  • Paywalls: new PaywallViewControllerDelegate.paywallViewController(_:didChangeSizeTo:) (#3563) via Cesar de la Vega (@vegaro)
  • Tests: running tests on macOS (#3533) via NachoSoto (@NachoSoto)
  • Integration Tests: split into separate jobs (#3560) via NachoSoto (@NachoSoto)

4.31.7

08 Jan 15:51
Compare
Choose a tag to compare

RevenueCatUI

  • Paywalls: improve footer view UIKit support for hybrid SDKs (#3547) via Andy Boedo (@aboedo)

Dependency Updates

  • Bump fastlane from 2.218.0 to 2.219.0 (#3553) via dependabot[bot] (@dependabot[bot])
  • Bump fastlane from 2.217.0 to 2.218.0 (#3550) via dependabot[bot] (@dependabot[bot])

Other Changes

  • Tests: improve test flakiness (#3552) via Andy Boedo (@aboedo)

4.31.6

22 Dec 00:36
Compare
Choose a tag to compare

RevenueCatUI

  • Paywalls: add header image to watchOS paywalls (#3542) via NachoSoto (@NachoSoto)
  • Paywalls: improve template 5 landscape layout (#3534) via NachoSoto (@NachoSoto)
  • Paywalls: fix template 5 footer loading view alignment (#3537) via NachoSoto (@NachoSoto)
  • Paywalls: improve template 1 landscape layout (#3532) via NachoSoto (@NachoSoto)
  • Paywalls: fix ColorInformation.multiScheme on watchOS (#3530) via NachoSoto (@NachoSoto)

Other Changes

  • Trusted Entitlements: tests for signature verification without header hash (#3505) via NachoSoto (@NachoSoto)
  • .debugRevenueCatOverlay: added Locale (#3539) via NachoSoto (@NachoSoto)
  • Trusted Entitlements: add support for signing request headers (#3424) via NachoSoto (@NachoSoto)
  • CI: Add architecture to cache keys (#3538) via Mark Villacampa (@MarkVillacampa)
  • Paywalls Tester: remove double close button (#3531) via NachoSoto (@NachoSoto)
  • Fix RevenueCatUI snapshot tests (#3526) via NachoSoto (@NachoSoto)

4.32.0-beta.1

21 Dec 19:21
Compare
Choose a tag to compare
4.32.0-beta.1 Pre-release
Pre-release

StoreKit 2 Beta

This beta introduces a new configuration option to enable full StoreKit 2 flow on the SDK and the RevenueCat backend.

We have been testing StoreKit 2 support in parallel to StoreKit 1 in our backend for a while and we believe it is ready for widespread use.

If your app is currently using StoreKit 1, it is safe to update to StoreKit 2 and it's even possible to switch back to StoreKit 1 if needed. Switching to StoreKit 2 will not prevent purchases made with StoreKit 1 from being processed.

In order to enable StoreKit 2, add .with(storeKitVersion: .storeKit2) to your RevenueCat configuration code:

Purchases.configure(with: .builder(withAPIKey: apiKey)
    .with(storeKitVersion: .storeKit2)
    .build()

If you were previously using the deprecated configuration option .with(usesStoreKit2IfAvailable: true), we recommend you remove it and switch to the new supported method.

⚠️ ⚠️ Important ⚠️ ⚠️

In order to validate StoreKit 2 purchases, make sure you have an In-App Purchase Key configured in your app.

Please see https://rev.cat/in-app-purchase-key-configuration for more info.

🚧🚧 Limitations 🚧🚧

  • Observer Mode is not currently supported when using StoreKit 2.
  • The originalApplicationVersion and originalPurchaseDate properties in CustomerInfo are not supported in this first beta. Please do not update if your implementation relies on them being present.

4.31.5

19 Dec 22:46
Compare
Choose a tag to compare

RevenueCatUI

  • Paywalls: add PaywallFooterViewController (#3486) via Toni Rico (@tonidero)
  • Paywalls: improve landscape support of all templates (#3471) via NachoSoto (@NachoSoto)
  • Paywalls: ensure footer links open in full-screen sheets (#3524) via NachoSoto (@NachoSoto)
  • Paywalls: improve FooterView text alignment (#3525) via NachoSoto (@NachoSoto)
  • Paywalls: Add dismissal method in PaywallViewControllerDelegate (#3493) via Toni Rico (@tonidero)

4.31.4

15 Dec 01:55
Compare
Choose a tag to compare

RevenueCatUI

  • Paywalls: silence logs below Purchases.logLevel (#3520) via NachoSoto (@NachoSoto)
  • Paywalls: always dismiss paywalls automatically after a purchase (#3517) via NachoSoto (@NachoSoto)

Dependency Updates

  • Bump danger from 9.4.1 to 9.4.2 (#3519) via dependabot[bot] (@dependabot[bot])

Other Changes

4.31.3

12 Dec 18:08
Compare
Choose a tag to compare

RevenueCatUI

  • Paywalls: improve image caching (#3498) via NachoSoto (@NachoSoto)
  • Paywalls: change style of CTA button to be consistent with other platforms (#3507) via NachoSoto (@NachoSoto)
  • Paywalls: open footer links on Safari on Catalyst (#3508) via NachoSoto (@NachoSoto)
  • Paywalls: fix compilation on Xcode < 14.3 (#3513) via NachoSoto (@NachoSoto)
  • Fix typo in zh-Hans localization of RevenueCatUI (#3512) via Francis Feng (@francisfeng)
  • Paywalls: fix PaywallViewControllerDelegate access from Objective-C (#3510) via noncenz (@noncenz)
  • Paywalls: open Terms and Privacy Policy links in-app (#3475) via Andy Boedo (@aboedo)
  • Paywalls: fix empty description when using custom package type and {{ sub_period }} (#3495) via Andy Boedo (@aboedo)
  • Paywalls: use HEIC images (#3496) via NachoSoto (@NachoSoto)
  • Paywalls: disable the close button when an action is in progress (#3474) via Andy Boedo (@aboedo)
  • Paywalls: adjusted German translations (#3476) via Tensei (@tensei)
  • Paywalls: Improve Chinese localization (#3489) via Andy Boedo (@aboedo)

Other Changes

  • CircleCI: add git credentials to snapshot generation (#3506) via NachoSoto (@NachoSoto)
  • StoreProduct: improve priceFormatter documentation (#3500) via NachoSoto (@NachoSoto)
  • Paywalls: fix tests (#3499) via NachoSoto (@NachoSoto)
  • Optimization: changed first to first(where:) (#3467) via NachoSoto (@NachoSoto)

4.31.2

06 Dec 19:49
Compare
Choose a tag to compare

Bugfixes

  • Improve pricePerYear price calculation precision (#3492) via Toni Rico (@tonidero)
  • Improve price per month accuracy for weekly subscriptions (#3480) via Andy Boedo (@aboedo)

Dependency Updates

  • Bump danger from 9.4.0 to 9.4.1 (#3485) via dependabot[bot] (@dependabot[bot])

4.31.1

01 Dec 07:25
Compare
Choose a tag to compare

RevenueCatUI

  • Paywalls: remove empty space when template 4 has no offer details (#3469) via NachoSoto (@NachoSoto)

Other Changes

  • Concurrency: address strict concurrency issues on SystemInfo (#3462) via NachoSoto (@NachoSoto)
  • CircleCI: upgrade to Xcode 15.1 (#3403) via NachoSoto (@NachoSoto)
  • Paywalls: tests for PurchaseButton layout logic (#3468) via NachoSoto (@NachoSoto)
  • Paywalls: simplified PaywallViewMode logic (#3470) via NachoSoto (@NachoSoto)

4.31.0

27 Nov 18:15
Compare
Choose a tag to compare

RevenueCatUI

  • Paywalls: Fix navigation with close button in UIKit (#3466) via Andy Boedo (@aboedo)
  • Paywalls: watchOS support (#3291) via NachoSoto (@NachoSoto)

Dependency Updates

  • Bump cocoapods from 1.14.2 to 1.14.3 (#3464) via dependabot[bot] (@dependabot[bot])
  • Bump fastlane from 2.216.0 to 2.217.0 (#3415) via dependabot[bot] (@dependabot[bot])
  • Bump danger from 9.3.2 to 9.4.0 (#3414) via dependabot[bot] (@dependabot[bot])

Other Changes