Skip to content

Xsolla Commerce Cocos Creator SDK v0.7.0 [Cocos Creator 3.8.0]

Latest
Compare
Choose a tag to compare
@olga-salina olga-salina released this 06 Dec 11:42
· 8 commits to master since this release

Added

  • Centrifugo integration. Doesn’t establish web socket connection for Android and iOS builds, short polling is used instead

Changed

  • authWithXsollaWidget SDK method moved to XsollaAuth
  • authSocial SDK method moved to XsollaAuth class
  • linkSocialNetwork SDK method moved to XsollaUserAccount class
  • openPurchaseUI SDK method: moved to XsollaPayments class, added onClose callback parameter (optional)
  • SDK methods for cart management. The following methods operate with the cart with specified ID or with the cart of current user if ID is not specified: getCart, clearCart, fillCart, updateItemInCart, removeItemFromCart

Removed

  • getCartById SDK method , use getCart instead
  • clearCartById SDK method , use clearCart instead
  • fillCartById SDK method , use fillCart instead
  • updateItemInCartById SDK method , use updateItemInCart instead
  • removeItemFromCartById SDK method , use removeItemFromCart instead

Fixed

  • Minor bugs