com.unity.purchasing 5.0.0-pre.3
Source docsNotes: processedReleased December 13, 2024
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.12.5)
- com.unity.ugui (1.0.0)
✨ Features
- Apple - Updated to StoreKit 2.
- - All features previously in StoreKit 1 are still supported.
- - New features from StoreKit 2 will be supported in a later release.
- - StoreKit 1 is no longer supported and iOS devices will require iOS 15.0 or later.
- - Added support for AppAccountToken, allowing associating purchases with an app-specific account identifier. It can be set using `SetAppAccountToken(Guid token)` on the StoreExtendedService (e.g., `IAppleStoreExtendedService.SetAppAccountToken`), and it is also exposed in the IAppleOrderInfo interface for better integration with order details. For more details, see AppAccountToken documentation.
- Apple - Updated PrivacyInfo.xcprivacy to reflect that IAP no longer uses required reason API.
📈 Improvements
- Apple - CrossPlatformValidator is no longer used for receipt validation for Apple since StoreKit2 does it.
- Apple - Receipt obfuscation for Apple has been removed.
- Apple - `Product.appleProductIsRestored` is now obsolete since it's no longer used with StoreKit2.
🔧 Bug Fixes
- Fixed Non-Consumables being treated as Consumables (introduced by Unity IAP 5.0.0-pre.1)
