Open store with Soomla Framework (Cocos 2dx)

365 views Asked by At

I don't really understand what is the utility of this operation:

soomla::CCStoreController::sharedStoreController()->storeOpening();

In the documentation it is said this should be called when you want to show the storefront, but I'm coding my own storefront.

Thanks in advance.

2

There are 2 answers

1
refaelos On BEST ANSWER

We have removed those functions. You don't need to call storeOpening() and storeClosing() anymore.

If you're on Android AND you have your own storefront, you should call startIabServiceInBg() and stopIabServiceInBg() when you open and close your storefront. You don't have to do that though.

0
Vikas Patidar On

storeOpening() and storeClosing() methods are just for create and delete Store instance for platform API's. If you are creating Store Layer then just call them in onEnter() and onExit() methods respectively.