RevenueCat v4.4.0 Release Notes
-
π New Features
- β Added new API key validation (#1581) via NachoSoto (@NachoSoto)
- Sending
X-Is-Sandbox
header in API requests (#1582) via NachoSoto (@NachoSoto) - β Added
AmazonStore
toStore
enum (#1586) via Will Taylor (@fire-at-will) - β Added
Configuration
object and API to configure Purchases (#1556) via Joshua Liebowitz (@taquitos) - π¦ Exposed
shouldShowPriceConsent
onPurchasesDelegate
(#1520) via Joshua Liebowitz (@taquitos)
π Fixes
- π
ManageSubscriptionsHelper
: fixed discrepancy betweenSystemInfo.isAppleSubscription(managementURL:)
andSystemInfo.appleSubscriptionsURL
(#1607) via NachoSoto (@NachoSoto) PurchasesOrchestrator
: don't listen for StoreKit 2 transactions if it's disabled (#1593) via NachoSoto (@NachoSoto)- β Added tests and fix to ensure
RawDataContainer
includes all data (#1565) via NachoSoto (@NachoSoto) - β Added obsoletion for
DeferredPromotionalPurchaseBlock
(#1600) via NachoSoto (@NachoSoto) StoreKit 2
purchases: don't throw when purchase is cancelled (#1603) via NachoSoto (@NachoSoto)- Ensure
SubscriptionPeriod
s are represented as 1week instead of 7days (#1591) via Will Taylor (@fire-at-will) - π
PurchaseStrings
: fixed transaction message formatting (#1571) via NachoSoto (@NachoSoto) - β‘οΈ
willRenew
update comment for lifetime will be false (#1579) via Josh Holtz (@joshdholtz) - βͺ
SK1StoreProductDiscount
: handleSKProductDiscount.priceLocale
beingnil
and createdStoreKitWorkarounds
(#1545) via NachoSoto (@NachoSoto) - π Fixed
ErrorUtils.logDecodingError
(#1539) via NachoSoto (@NachoSoto)
Other changes
- π
GetIntroEligibilityOperation
: replaced response parsing withDecodable
(#1576) via NachoSoto (@NachoSoto) - π
PostOfferForSigningOperation
: changed response parsing to usingDecodable
(#1573) via NachoSoto (@NachoSoto) - Converted
CustomerInfo
and related types to useCodable
(#1496) via NachoSoto (@NachoSoto) - π
MagicWeatherSwiftUI
: fixed usage ofPurchaseDelegate
(#1601) via NachoSoto (@NachoSoto) - β Added tests for
PeriodType
/PurchaseOwnershipType
/Store
(#1558) via NachoSoto (@NachoSoto) - π Fix description of
StoreTransaction
(#1584) via aboedo (@aboedo) - Prepare the codebase to listen to the Storefront changes (1/4) (#1557) via Juanpe CatalΓ‘n (@Juanpe)
- π
Purchases.canMakePayments
: moved implementation toStoreKitWrapper
(#1580) via NachoSoto (@NachoSoto) - β
BackendGetIntroEligibilityTests
: fixed test that was passing before anything ran (#1575) via NachoSoto (@NachoSoto) PeriodType
/PurchaseOwnershipType
/Store
: conform toEncodable
(#1551) via NachoSoto (@NachoSoto)- π Improved
EntitlementInfosTests
(#1547) via NachoSoto (@NachoSoto) ProductRequestData
: addedStorefront
for receipt posting (#1505) via NachoSoto (@NachoSoto)- β Added
RawDataContainer
conformances to APITesters (#1550) via NachoSoto (@NachoSoto) - Simplified
EntitlementInfo.isEqual
(#1548) via NachoSoto (@NachoSoto) - π
CustomerInfo
: moved deprecated property toDeprecations
(#1549) via NachoSoto (@NachoSoto) - π¦
PackageType
: simplifiedtypesByDescription
and implementedCustomDebugStringConvertible
(#1531) via NachoSoto (@NachoSoto)