com.unity.purchasing 4.5.0

com.unity.purchasing

Notes: processedReleased October 3, 2022

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2020.3

Package Dependencies

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