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)
To view new release, visit https://github.com/RevenueCat/purchases-ios/releases/tag/4.4.0