A C++ Wrapper of Flurry for Cocos2d-X

I wrote a C++ wrapper of Flurry for Cocos2d-X over the weekend. Currently supports Android and iOS.

Let me know what you guys think. :slight_smile:

Cool, I saw you’ve wrapped on both ios and android.
How about add it into assets channel http://www.cocos2d-x.org/projects/cocos2d-x/assets

That’ll be great. :wink:

I helped you to add it http://www.cocos2d-x.org/projects/cocos2d-x/assets/7
But I’m not sure which version of cocos2d-x does your extension compatible with?

I wrote it upon the gles20 branch. I haven’t tested it on the 1.0 version (the master branch).

I used CCDictionary, which might be a problem for downward compatibility.

Hi,

Can anyone help me to convert this for me to use in AnalyticsX ?

[Flurry logEvent:[NSString stringWithFormat:@“Level Win %d”,gv.gameLevel - 3]];

Thanks in advance

Will some one pls reply on this ?

You can use something like :

#include “AnalyticX.h”

std::string event = “Your event”;
AnalyticX::flurryLogEvent(event.c_str());