I’ve been looking around but couldn’t really find anything regarding implementing in-app purchases for mobile platforms with Cocos2d X html5.
I was wondering whether I could do it, while integrating with the app store/google play billing systems, since I’m not allowed to charge for in-app content otherwise.
Thankyou very much for your answer.
I am confused a bit by your answer, games developed using cocos2d-html5 has javascript code
so how can I integrate IAP, ad, analytics and social sharing. since all these can be done in native languages like objective-c for ios and android for java.
Do you say we can create libraries for android using JNI and use JSB for deployment to native stores. Is this correct.
our team is working on a solution called plugin x, which combines many third party plugins like stat tracking payment into an unified api.
Then you can just implement plugin x. plugin x will be available for js as well, so stay tuned
It plans to integrate plugin-x in Cocos2d-html5 and Cocos2d JSB before this July.
>
The plugin-x includes different kinds of SDK, such as: IAP, ad, analytics and social sharing.
>
So games which developed with Cocos2d-html5 could be published to native or html5 market, and it will switch different SDK automatically.