Skip to content

Releases: xsolla/store-unity-sdk

Xsolla Store Unity Asset v2.5.2

16 Jan 06:19
Compare
Choose a tag to compare

Added

  • XsollaAuth.AuthBySavedToken SDK method for user authentication with a saved token
  • XsollaToken.ExpirationTime property for getting the token expiration time in seconds since the Unix epoch

Changed

  • XsollaAuth.AuthViaSavedToken SDK method marked as obsolete. Use XsollaAuth.AuthBySavedToken instead
  • XsollaCatalog.GetCatalog SDK method marked as obsolete. Use GetItems 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

14 Dec 10:47
Compare
Choose a tag to compare

Changed

  • Minimum supported Unity version updated to 2021.3.45f1.
  • Removed the limit and offset 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.GetPaginatedGroupItemsCHANGELOG.md
    • XsollaCatalog.GetPaginatedVirtualCurrencyList
    • XsollaCatalog.GetPaginatedVirtualCurrencyPackagesList
    • XsollaCatalog.GetPaginatedBundles
  • New method for XsollaUserAccount:
    • XsollaUserAccount.UnlinkSocialProvider

Fixed

  • Potential meta-data attribute merge conflict in AndroidManifest.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

22 Oct 03:54
Compare
Choose a tag to compare

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 and XsollaCatalog.Purchase SDK methods. Added the PlatformSpecificAppearance parameter to specify the browser (activity) type for Android builds
  • XsollaCart.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

22 Jul 04:16
Compare
Choose a tag to compare

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. If false, 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

Fixed:

  • “Malformed URL” error when requesting a catalog on some iOS devices

Xsolla Store Unity Asset v2.4.0

18 Apr 11:16
Compare
Choose a tag to compare

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 the payment_method parameter
  • XsollaAuth.AuthWithXsollaWidget SDK methods. Added the locale parameter

Fixed

  • Token auto refresh logic

Removed

  • Deprecated size and version parameters from PayStationUI data

Xsolla Store Unity Asset v2.3.0

01 Feb 12:28
Compare
Choose a tag to compare

Changed

  • AuthWithXsollaWidget SDK method. Added the ‘locale’ parameter

Xsolla Store Unity Asset v2.2.0

04 Dec 03:32
Compare
Choose a tag to compare

Added

  • Fullscreen mode for Xsolla built-in browser

Changed

  • LinkDeviceToAccount and AuthViaDeviceID SDK methods. Methods are simplified, the DeviceInfo parameter is not required

Fixed

  • AuthViaDeviceID SDK method backward compatibility for migration from 1.5.x version

Xsolla Store Unity Asset v2.1.0

04 Dec 03:30
Compare
Choose a tag to compare

Added

  • Centrifugo integration

Changed

  • AuthWithXsollaWidget SDK method. Supports opening the widget on mobile platforms
  • Project settings:
    • paystationTheme renamed to paystationThemeId
    • 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

23 May 04:21
Compare
Choose a tag to compare

Added

  • XsollaAuth.AuthViaSocialNetwork SDK method for cross-platform social network authentication. Method incapsulates web-based and native authentication methods
  • XsollaAuth.AuthViaXsollaLauncher SDK method for authentication via Xsolla Launcher
  • XsollaAuth.AuthViaSavedToken SDK method for authentication with a saved token which was received during previous authentication
  • XsollaAuth.IsUserAuthenticated SDK method for checking if the user is authenticated
  • XsollaCatalog.Purchase SDK method for purchasing virtual items for real money
  • XsollaCatalog.PurchaseForVirtualCurrency SDK method for purchasing virtual items for virtual currency
  • XsollaCatalog.PurchaseFreeItem SDK method for purchasing free virtual items
  • XsollaCart.Purchase SDK method for purchasing virtual items from the cart for real money
  • XsollaCart.PurchaseFreeCart method for purchasing free virtual items from the cart
  • SteamUtils 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 pass token as success callback parameter now. They save token data locally for further use. Use XsollaToken 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 as device_id automatically if not specified
  • XsollaAuth.Logout SDK method. It invalidates local saved token data
  • Class Token renamed to XsollaToken and made static
  • SDK methods of XsollaCart class. Method overloads where removed. Parameter cartId is optional, if not specified method uses current cart ID
  • XsollaAuth.Register SDK method. It passes LoginLink as success callback parameter
  • XsollaAuth.StartAuthByEmail and XsollaAuth.StartAuthByPhoneNumber SDK methods. They pass OperationId as success callback parameter
  • BrowserUtils renamed to XsollaWebBrowser
  • Canvas component for XsollaInAppBrowser

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

29 Mar 03:46
Compare
Choose a tag to compare

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