Cocos2dx InApp Purchase for ios
- by Ahmad dar
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
Please Help me what i have to do ? Thanks