@pwinward wrote:
I'm using cocos2d-x 3.9. After importing iap, I see the following successful message:
Copyright (c) 2015 SDKBOX Inc. v1.0.0.2
downloading package sdkbox-iap_v2.0.2.0.tar.gz
[###################################] 100%
downloading package sdkbox-googleplayservices_v2.0.2.0.tar.gz
[###################################] 100%
Installation Successful
Please reference the online documentation to finish the integration:
http://sdkbox-doc.github.io/en/plugins/iap/v3-js/
Installation SuccessfulMy first question is this: why does the link point to the js docs when my project is cpp? Is this just the default landing page?
After following the notices on the cpp page, the build fails in several header files that try to include 'jsapi.h' because the file can't be found.
How can I fix this?
Interestingly, I did have to add the res folder so that it could copy the sdkbox_config.json into it. I was also prompted by xcode to link to storekit and enable in-app purchases, but I didn't see that documented online. Please advise if this is normal.
Thanks for the help.
Posts: 11
Participants: 2