com.unity.purchasing 5.1.0
Source docsNotes: processedReleased December 13, 2025
Unity Compatibility
Minimum Unity: 2021.3
Package Dependencies
- com.unity.modules.androidjni (1.0.0)
- com.unity.modules.jsonserialize (1.0.0)
- com.unity.modules.unitywebrequest (1.0.0)
- com.unity.services.core (1.14.0)
- com.unity.ugui (1.0.0)
✨ Features
- Custom Stores - Added a new constructor `CartItem(Product product, int quantity)` to support specifying the quantity of items in the cart.
- Custom Stores - Added `ReadOnlyProductCache` to `Store` to allow read only access to the internal product cache when implementing a custom store.
- Apple - StoreKit 1 support has been brought back for iOS, iPadOS, tvOS below 15.0 and macOS below 12.0.
- - By default, StoreKit 2 will be used, but older devices that are incompatible with it will use StoreKit 1.
- - Added `StoreKitSelector.forceStoreKit1` to force StoreKit 1 usage on all supported platforms.
📈 Improvements
- `ProductDefinition` fields `id` and `storeSpecificId` fields are now non-nullable.
- `SubscriptionInfo` - `IsSubscribed()`, `IsExpired()`, `IsCancelled()`, `IsAutoRenewing()`, `GetRemainingTime()` are now calculated at call time.
- Apple - On buying an already confirmed product, a `FailedOrder` callback will be sent with the `DuplicateTransaction` reason.
🔧 Bug Fixes
- Apple - Fixed a missing import `StoreKit/StoreKit.h` when using `"UnityFramework/UnityFramework-Swift.h"`
