Releases: RevenueCat/purchases-ios
4.31.8
RevenueCatUI
Paywalls
: remove unscrollable spacing in Template 5 (#3562) via NachoSoto (@NachoSoto)Paywalls
: improve template 5 checkmark icon (#3559) via NachoSoto (@NachoSoto)
Bugfixes
- Improve sandbox detector for macOS apps (#3549) via Mark Villacampa (@MarkVillacampa)
Other Changes
Paywalls
: newPaywallViewControllerDelegate.paywallViewController(_:didChangeSizeTo:)
(#3563) via Cesar de la Vega (@vegaro)Tests
: running tests onmacOS
(#3533) via NachoSoto (@NachoSoto)Integration Tests
: split into separate jobs (#3560) via NachoSoto (@NachoSoto)
4.31.7
RevenueCatUI
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
4.31.6
RevenueCatUI
Paywalls
: add header image towatchOS
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
: fixColorInformation.multiScheme
onwatchOS
(#3530) via NachoSoto (@NachoSoto)
Other Changes
Trusted Entitlements
: tests for signature verification without header hash (#3505) via NachoSoto (@NachoSoto).debugRevenueCatOverlay
: addedLocale
(#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
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.
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
andoriginalPurchaseDate
properties inCustomerInfo
are not supported in this first beta. Please do not update if your implementation relies on them being present.
4.31.5
RevenueCatUI
Paywalls
: addPaywallFooterViewController
(#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
: improveFooterView
text alignment (#3525) via NachoSoto (@NachoSoto)- Paywalls: Add dismissal method in
PaywallViewControllerDelegate
(#3493) via Toni Rico (@tonidero)
4.31.4
RevenueCatUI
Paywalls
: silence logs belowPurchases.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
Tests
: fix iOS 12 snapshot (#3521) via NachoSoto (@NachoSoto)- [SK2] Add support for StoreKit Config files in SK2 (#3365) via Mark Villacampa (@MarkVillacampa)
4.31.3
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 usingcustom
package type and{{ sub_period }}
(#3495) via Andy Boedo (@aboedo)Paywalls
: useHEIC
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
: improvepriceFormatter
documentation (#3500) via NachoSoto (@NachoSoto)Paywalls
: fix tests (#3499) via NachoSoto (@NachoSoto)Optimization
: changedfirst
tofirst(where:)
(#3467) via NachoSoto (@NachoSoto)
4.31.2
4.31.1
RevenueCatUI
Paywalls
: remove empty space when template 4 has no offer details (#3469) via NachoSoto (@NachoSoto)
Other Changes
Concurrency
: address strict concurrency issues onSystemInfo
(#3462) via NachoSoto (@NachoSoto)CircleCI
: upgrade to Xcode 15.1 (#3403) via NachoSoto (@NachoSoto)Paywalls
: tests forPurchaseButton
layout logic (#3468) via NachoSoto (@NachoSoto)Paywalls
: simplifiedPaywallViewMode
logic (#3470) via NachoSoto (@NachoSoto)
4.31.0
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
- Some
APITester
fixes (#3444) via NachoSoto (@NachoSoto) HTTPClient
: test all request headers (#3425) via NachoSoto (@NachoSoto)CircleCI
: fix snapshot generation for iOS 14 (#3431) via NachoSoto (@NachoSoto)- Remove
MockStoreMessagesHelper
from SDK (#3417) via NachoSoto (@NachoSoto) - Enable explicit_init lint rule and fix issues (#3418) via Mark Villacampa (@MarkVillacampa)