Skip to content

5.0.0-pre.6

Choose a tag to compare

@Needle-Mirror-Bot Needle-Mirror-Bot released this 11 Jun 23:11

[5.0.0-pre.6] - 2025-06-11

Added

  • Added UnityIAPServies.StoreController as a wrapper around the other services obtained through UnityIAPServices.
    • Added StoreController.PurchaseProduct(string productId) to initiate a purchase using only the productId.
  • Added messages to [Obsolete] attributes on deprecated APIs, test methods, and internal classes.
  • Samples - Added Minimal Coded IAP 5.0.0 Sample to demonstrate a very basic implementation of Coded IAP.
  • Added documentation note in UpgradeV5.md clarifying the singleton behavior of ConfigurationBuilder.Instance and the use of its constructor as a workaround for scenarios requiring multiple initializations.
  • Added backwards compatibility support for IAPListener and CodelessIAPButton callbacks. When updating from an older IAP version, your scripts will continue to work without modification.
  • Apple - Added IAppleStoreExtendedPurchaseService.SetRefreshAppReceipt to refresh the receipt when a purchase succeeds (true by default). This is useful if are using a backwards compatible implementation or if you use IOrderInfo.PurchasedProductInfo.subscriptionInfo.
  • Added IOrderInfo.Google to provide access to information specific to orders coming from the Google Play Store.
  • Added Orders.DeferredOrders to provide access to deferred orders fetched from the store.
  • Added back useFakeStoreUIMode and useFakeStoreAlways variables to StandardPurchasingModule for backwards compatibility.
    • Important: neither setting is respected by the FakeStore. Functionality has not been reimplemented.
  • Added back Instance(AppStore androidStore) call to StandardPurchasingModule for backwards compatibility. Calling Instance(AppStore androidStore) will return the same results as Instance() regardless of the provided AppStore.

Changed

  • IAP Catalog - Renamed Automatically initialize UnityPurchasing (recommended) to Automatically initialize UnityIAPServices (recommended).
    • Brought back Apple Configuration, Google Configuration and Catalog Export in IAP Catalog.
    • Updated translation locales for Google Play Store and Apple App Store