Pre-requisites
IAP Checklist
Also I have now got a CocoonJS premium account which gave me compile options for Cocoonjs store and added the IAP to cocoonjs store.
Link to .capx file (required!):
https://dl.dropbox.com/u/2175584/Construct2Examples/IAPTest.capx
Steps to reproduce:
1. Launch compiled project from ludei (cocoonJS) in xcode
2. Observer console log
3. Comment out the on start (crashes app)
4. Load again
5. Press the buy button
6. Observer console log
Observed result:
Console log :
At Start:
Expected result:
Am I getting this error because CocoonJS.Store.start(); isn't being called in c2runtime.js. I have tried manually executing this function from C2 using callJs.
Browsers affected:
Chrome: no
Firefox: no
Internet Explorer: no
CocoonJS: yes
Operating system & service pack:
Windows 8
Construct 2 version:
r122
Notes:
Looking at Ludei's example IAP they have this code in their HTML:
Does that need to be somewhere in c2runtime.js as no html file is made for cocoonjs?