com.unity.purchasing 4.11.0

com.unity.purchasing

Source docs
Notes: processedReleased March 11, 2024

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2020.3

Package Dependencies

Features

  • GooglePlay - `IGooglePlayConfiguration.SetMaxConnectionAttempts(int maxConnectionAttempts)` has been added to specify the max connection attempts to the Google Play Store.
  • Apple - Added privacy manifest to comply with Apple's new privacy requirements. More details on how the Unity Engine supports this can be found here.
  • Added `ConfigurationBuilder.logUnavailableProducts` to specify if unavailable products should be logged.

📈 Improvements

  • GooglePlay - The default max connection attempt to the Google Play Store has been increased from 1 to 3. See `IGooglePlayConfiguration.SetMaxConnectionAttempts` to configure this to a different value.
  • Apple - The log when retrieving products (SKProductsResponse) now also contains the invalid products count.
  • Improved `IStoreListener.OnInitializeFailed` for `InitializationFailureReason.NoProductsAvailable` by adding a message to clarify whether the store returned products or not.

🔧 Bug Fixes

  • GooglePlay - Fixed AndroidJavaObject not being disposed causing a global reference table overflow in an edge case.
  • GooglePlay - Fixed bug causing BillingClient duplication resulting in ANR.
  • Apple - Fixed isFamilyShareable on tvOS to be only available on supported versions (14.0 and above).
  • Apple - Error codes when a purchase fails now always returns the code from Apple instead of defaulting to `SKErrorUnknown`.
  • Fixed Analytics' transactionServer being null.