CocoonJS IAP parameters missing?

0 favourites
  • 1 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Hi Ashley

    I was playing around with Cocoon again looking for a way to grab purchase information.

    When assigning a test global variable I saw that CocoonJSAds can be called up followed by parameters (not sure if "parameters" is the right word):

    <img src="https://dl.dropboxusercontent.com/u/17062392/cocoonIAP/cocoon1.jpg" border="0" />

    The listed items seem to come from the CocoonJS.Store.ProductInfo in the cocoonjs_prelude.js

    <img src="https://dl.dropboxusercontent.com/u/17062392/cocoonIAP/cocoon2.jpg" border="0" />

    Is it also to include the listings from CocoonJS.Store.PurchaseInfo? It includes the purchaseState in that list that can help tremendously in passing info to the app. Especially triggering to disable ads after a purchase.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)