com.unity.purchasing 4.8.0
Source docsNotes: processedReleased April 14, 2023
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.core (1.8.1)
- com.unity.ugui (1.0.0)
✨ Features
- Added new IAP Button in the editor. This new button allows for more UI customization. The new button will no longer update the button fields by default.
- Added a new event `OnProductFetched(Product)` to the IAP Listener and to the IAP Button it is called after fetching products from the app stores.
- Added a new `OnPurchaseFailed(Product, PurchaseFailureDescription)` callback containing more information on the failed purchase in `IDetailedStoreListener : IStoreListener`
📈 Improvements
- IAP Button is now obsolete.
- Google Play - Billing Library update from version 4.0.0 to 5.1.0 Google Release Notes.
- New Google Billing features are not supported yet, they will be included in a future major update.
- Removed the nullable operator `?` from public interfaces and classes.
- `IStoreListener.OnPurchaseFailed` is now obsolete.
- When present, Analytics 4.4.0 and above will now use the new interface `IAnalyticsStandardEventComponent` from Services Cores 1.8.1.
- Upgraded `com.unity.services.core` from 1.5.2 to 1.8.1.
🔧 Bug Fixes
- Samples - Some samples had IAP 4.6.0 `IStoreListener` changes not completely implemented causing compilation errors.
