Xsolla Commerce Cocos Creator SDK v0.7.0 [Cocos Creator 3.8.0]
olga-salina
released this
06 Dec 11:42
·
21 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 toXsollaAuth
authSocial
SDK method moved toXsollaAuth
classlinkSocialNetwork
SDK method moved toXsollaUserAccount
classopenPurchaseUI
SDK method: moved toXsollaPayments
class, addedonClose
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 , usegetCart
insteadclearCartById
SDK method , useclearCart
insteadfillCartById
SDK method , usefillCart
insteadupdateItemInCartById
SDK method , useupdateItemInCart
insteadremoveItemFromCartById
SDK method , useremoveItemFromCart
instead
Fixed
- Minor bugs