Releases: xsolla/store-unity-sdk
Releases · xsolla/store-unity-sdk
Xsolla Store Unity Asset v2.5.2
Added
XsollaAuth.AuthBySavedToken
SDK method for user authentication with a saved tokenXsollaToken.ExpirationTime
property for getting the token expiration time in seconds since the Unix epoch
Changed
XsollaAuth.AuthViaSavedToken
SDK method marked as obsolete. UseXsollaAuth.AuthBySavedToken
insteadXsollaCatalog.GetCatalog
SDK method marked as obsolete. UseGetItems
instead- The Android build process no longer affects SDK source files (proxy activities, etc.)
- Default built-in browser resolution for desktop platforms is now 1024 x 800 px
Fixed
Different serialization layout when loading
error
Xsolla Store Unity Asset v2.5.1
Changed
- Minimum supported Unity version updated to 2021.3.45f1.
- Removed the
limit
andoffset
parameters from the following SDK methods:XsollaCatalog.GetItems
XsollaCatalog.GetGroupItems
XsollaCatalog.GetItemGroups
XsollaCatalog.GetVirtualCurrencyList
XsollaCatalog.GetVirtualCurrencyPackagesList
XsollaCatalog.GetBundles
XsollaCatalog.GetCatalog
- Android Proxy Activities used for authentication is transparent now.
Added
- New methods for XsollaCatalog:
XsollaCatalog.GetPaginatedItems
XsollaCatalog.GetPaginatedGroupItems
CHANGELOG.mdXsollaCatalog.GetPaginatedVirtualCurrencyList
XsollaCatalog.GetPaginatedVirtualCurrencyPackagesList
XsollaCatalog.GetPaginatedBundles
- New method for XsollaUserAccount:
XsollaUserAccount.UnlinkSocialProvider
Fixed
- Potential
meta-data
attribute merge conflict inAndroidManifest.xml
. - An issue where changes to Xsolla SDK settings were not properly saved to the asset.
- An issue where the callback was not invoked after authentication with the Xsolla Login Widget.
Enterprise-level Xsolla SDK v2.5.0
Added
- OAuth2.0 support for the Xsolla Login Widget with token refresh functionality
- Support for non-US keyboards in the Xsolla built-in browser
Changed
- Improved UX for certain payment methods like Google Pay. Payment flow can be changed using the
is_independence_window
flag - All links in the Xsolla built-in browser now open in an external browser for better UX
- Updated
Steamworks.NET
library to the latest version - Minimum supported version of
Newtonsoft.Json
package updated to 3.0.1 (previously 2.0.0) - Updated internal Android and iOS libraries for improved compatibility and stability
XsollaCart.Purchase
andXsollaCatalog.Purchase
SDK methods. Added thePlatformSpecificAppearance
parameter to specify the browser (activity) type for Android buildsXsollaCart.Purchase
SDK method. Added order creation callbacks
Fixed
- APK size issue. Desktop browser files are no longer included in the Android APK build
- Packaging issue with the embedded browser on macOS
Alt+Tab
behavior on desktop platforms when using the Xsolla built-in browser
Enterprise-level Xsolla SDK v2.4.1
Added
- Unity 6 support
Changed
- Third-party dependency manager updated to latest version
PurchaseParams
structure:- Added
close_button
parameter, that defines the way the Google Pay payment method is displayed. If true, the button for quick payment via Google Pay is displayed at the top of the payment UI. Iffalse
, Google Pay is displayed in the list of payment methods according to the PayRank algorithm.false
by default - Added
close_button_icon
parameter, that defines the icon of the Close button in the payment UI. Can be arrow or cross - Added
google_pay_quick_payment_button
parameter, that brings the Google Pay button to the top of the payment methods list
- Added
Fixed:
- “Malformed URL” error when requesting a catalog on some iOS devices
Xsolla Store Unity Asset v2.4.0
Added
- Ability to import SDK from a Git URL
- Ability to close Pay Station in Android Web View
Changed
- Default Pay Station version was changed to 4
- The Xsolla settings asset is no longer included in the SDK package. It is now generated automatically upon first use to
has_more
parameter added to response data for the following SDK methods:XsollaCatalog.GetCatalog
XsollaCatalog.GetItemGroups
XsollaCatalog.GetVirtualCurrencyList
XsollaCatalog.GetVirtualCurrencyPackagesList
PurchaseParams
data structure. Added thepayment_method
parameterXsollaAuth.AuthWithXsollaWidget
SDK methods. Added thelocale
parameter
Fixed
- Token auto refresh logic
Removed
- Deprecated
size
andversion
parameters fromPayStationUI
data
Xsolla Store Unity Asset v2.3.0
Changed
AuthWithXsollaWidget
SDK method. Added the ‘locale’ parameter
Xsolla Store Unity Asset v2.2.0
Added
- Fullscreen mode for Xsolla built-in browser
Changed
LinkDeviceToAccount
andAuthViaDeviceID
SDK methods. Methods are simplified, theDeviceInfo
parameter is not required
Fixed
AuthViaDeviceID
SDK method backward compatibility for migration from 1.5.x version
Xsolla Store Unity Asset v2.1.0
Added
- Centrifugo integration
Changed
AuthWithXsollaWidget
SDK method. Supports opening the widget on mobile platforms- Project settings:
paystationTheme
renamed topaystationThemeId
- Added
FacebookClientToken
parameter for project settings. Allows to set up native user authentication via Facebook Android application
- SDK methods for getting catalog. Added the
limits
parameter for items and promotions
Fixed
onCancel
event is invoked even on successful social login- Closing browser after payment failure
- Infinite check order short polling when request returns an error
- Destruction of the
WebRequestHelper
Instance when unloading scenes
Xsolla Store Unity Asset v2.0.0
Added
XsollaAuth.AuthViaSocialNetwork
SDK method for cross-platform social network authentication. Method incapsulates web-based and native authentication methodsXsollaAuth.AuthViaXsollaLauncher
SDK method for authentication via Xsolla LauncherXsollaAuth.AuthViaSavedToken
SDK method for authentication with a saved token which was received during previous authenticationXsollaAuth.IsUserAuthenticated
SDK method for checking if the user is authenticatedXsollaCatalog.Purchase
SDK method for purchasing virtual items for real moneyXsollaCatalog.PurchaseForVirtualCurrency
SDK method for purchasing virtual items for virtual currencyXsollaCatalog.PurchaseFreeItem
SDK method for purchasing free virtual itemsXsollaCart.Purchase
SDK method for purchasing virtual items from the cart for real moneyXsollaCart.PurchaseFreeCart
method for purchasing free virtual items from the cartSteamUtils
class which provides additional methods for authentication and purchasing via Steam
Changed
- All methods and classes of requests are static now. You don't have to use the singleton
Instance
property anymore - All authorization methods in
XsollaAuth
class don't passtoken
as success callback parameter now. They save token data locally for further use. UseXsollaToken
class to get token data if you need it - All requests which required authorization has silent refresh token logic now
XsollaAuth.AuthViaDeviceID
SDK method. Device info parameters are optional now. SDK detects required parameters such asdevice_id
automatically if not specifiedXsollaAuth.Logout
SDK method. It invalidates local saved token data- Class
Token
renamed toXsollaToken
and made static - SDK methods of
XsollaCart
class. Method overloads where removed. ParametercartId
is optional, if not specified method uses current cart ID XsollaAuth.Register
SDK method. It passesLoginLink
as success callback parameterXsollaAuth.StartAuthByEmail
andXsollaAuth.StartAuthByPhoneNumber
SDK methods. They passOperationId
as success callback parameterBrowserUtils
renamed toXsollaWebBrowser
Canvas
component forXsollaInAppBrowser
Removed
- Class
OrderTracking
is internal now and not available for use in the client code - All Android and iOS helper classes are internal now and not available for use in the client code
Fixed
- Disabling
bitcode
parameter of Xcode project for iOS builds
Xsolla Store Unity Asset v1.5.0
Added
- User login with Xsolla Login widget
- Social login helper for iOS builds
- Browser closed callback for
XsollaOrders.OpenPurchaseUi
method - Ability to change the user agent of Xsolla in-app browser
Any payment
option for manual redirection in the redirect policy settings
Fixed
- Cancel event invoking upon successful purchase for iOS builds
- Default redirect policy generation which caused error in some cases
- Use of obsolete methods for Unity 2020.3 and later
- Saving auth token outside main thread for Android builds
- Changing Xsolla in-app browser resolution after browser creation
- Endless redirect loop after purchase completion on Android