RubenVot
RubenVot

Reputation: 186

Open store with Soomla Framework (Cocos 2dx)

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.

Upvotes: 1

Views: 368

Answers (2)

refaelos
refaelos

Reputation: 8075

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.

Upvotes: 1

Vikas Patidar
Vikas Patidar

Reputation: 43349

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.

Upvotes: 1

Related Questions