Cocos2dx InApp Purchase for ios

Posted by Ahmad dar on Game Development See other posts from Game Development or by Ahmad dar
Published on 2014-06-07T10:07:05Z Indexed on 2014/06/07 15:41 UTC
Read the original article Hit count: 481

Filed under:
|
|

I am trying to integrate In App Purchases in my app made by using cocos2d x c++. I am using easyNdk Helper for In App Purchases. My In App Purchases works perfectly for my Objective C apps. But for cocos2d x it is throwing error for the following line

if ([[RageIAPHelper sharedInstance] productPurchased:productP.productIdentifier])

Actually value came from CPP file perfectly in form of arguments and Properly shows their value in NSLog , But it always shows the objects as nil even objetcs print their stored value in NSLog

also @try catch condition is not working

and finally throw the following error enter image description here

Please Help me what i have to do ? Thanks

© Game Development or respective owner

Related posts about ios

Related posts about objective-c