cocos2d-x接入GooglePlay IAB(In-app Billing)和iOS IAP(In-App Purchase)

        先上效果图/源码和参考资料。网上资料很多,官网也有说明,这里就不写基础步骤了,真正去写的一些细节在源码中可以看到,晚点也许再补一些相对比较偏僻的要点。

cocos2d-x接入GooglePlay IAB(In-app Billing)和iOS IAP(In-App Purchase)_第1张图片


cocos2d-x接入GooglePlay IAB(In-app Billing)和iOS IAP(In-App Purchase)_第2张图片


源码地址:https://github.com/piaopolar/IABPluginDemo2dx


参考链接:

GooglePlay IAB:


http://developer.android.com/training/in-app-billing/index.html

http://zengrong.net/post/1801.htm

http://blog.csdn.net/michael_liu_89/article/details/12704461


iOS IAP:

http://www.cocos2d-x.org/docs/tutorial/framework/html5/jsb-ios-iap/ios-storekit-integration-in-c++/zh


你可能感兴趣的:(cocos2d-x,iab,iap,内购,googleplay)