Skip to content

5.0.0-pre.8

Choose a tag to compare

@Needle-Mirror-Bot Needle-Mirror-Bot released this 26 Jul 22:09

[5.0.0-pre.8] - 2025-07-25

Added

  • Added public CrossPlatformValidator(byte[] googlePublicKey, string googleBundleId) constructor to CrossPlatformValidator.
  • Added GetProductById(string productId) to IProductService and StoreController.
  • Added IPurchaseService.ProcessPendingOrdersOnPurchasesFetched to control whether pending orders are processed when purchases are fetched. Defaults to true.

Fixed

  • Fixed a callback crash happening with StoreKit 2
  • Fixed IPurchaseService.ConfirmPurchase failing with failure reason ExistingPurchasePending
  • Fixed PendingOrders not being removed correctly from the IPurchaseService purchase cache when calling ConfirmPendingPurchase.
  • Coded IAP backwards compatibility fixes:
    • OnInitializedFailed will only be invoked when all products failed to be fetched, rather than when any product fails to be fetched.
    • Purchases are now fetched on initialization (same behavior as in 4.x versions).
    • Fixed OnInitialized callback being triggered multiple times
  • Apple - Fixed CheckEntitlement returning the wrong result when expired transactions are present.
  • Apple - Apple receipt is properly updated when a purchase succeeds
  • Apple - Improved performance of IPurchaseService.FetchPurchases()
  • Apple - Fixed an issue where FetchPurchases would be limited to a single PendingOrder per product. All pending orders are now fetched properly.
  • Apple - Fixed IPurchaseService.CheckEntitlement returning EntitlementStatus.FullyEntitled for unfinished subscriptions
  • Apple - Fixed MacOS dynamic library not exposing functions.
  • GooglePlay - Fixed a case where the FetchPurchases wouldn't invoke any callback when an internal exception occurred.