com.unity.purchasing 4.5.0
Notes: processedReleased October 3, 2022
Unity Compatibility
Minimum Unity: 2020.3
Package Dependencies
- com.unity.modules.androidjni (1.0.0)
- com.unity.modules.jsonserialize (1.0.0)
- com.unity.modules.unityanalytics (1.0.0)
- com.unity.modules.unitywebrequest (1.0.0)
- com.unity.services.analytics (4.0.1)
- com.unity.services.core (1.3.1)
- com.unity.ugui (1.0.0)
✨ Features
- Apple - Add support for Family Sharing.
- - API `IAppleConfiguration.SetEntitlementsRevokedListener(Action>` called when entitlement to a products are revoked. The `Action` will be called with the list of revoked products. See documentation "Store Guides" > "iOS & Mac App Stores" for a sample usage.
- - API - Product metadata is now available in `AppleProductMetadata` from `ProductMetadata.GetAppleProductMetadata()` via `IStoreController.products`.
- - API `AppleProductMetadata.isFamilyShareable` indicated if the product is family shareable.
- - `Apple App Store - 11 Family Sharing` sample that showcases how to use Unity IAP to manage family shared purchases.
🔧 Bug Fixes
- GooglePlay - Processing out-of-app purchases such as Promo codes no longer requires the app to be restarted. The
- purchase will be processed the next time the app is foregrounded. Technical limitation: In the case of promo codes, if
- the app is opened while the code is redeemed, you might receive an additional call
- to `IStoreListener.OnPurchaseFailed` with `PurchaseFailureReason.Unknown`. This can be safely ignored.
- GooglePlay - Fixed a `NullReferenceException` that would rarely occur when retrieving products due to a concurrency issue introduced in Unity IAP 4.2.0
