Skip to content

Commit

Permalink
Merge pull request cocos2d#2488 from natural-law/master
Browse files Browse the repository at this point in the history
Update the umeng SDK
  • Loading branch information
minggo committed Apr 28, 2013
2 parents 4a9984a + 91d109e commit e3565d4
Show file tree
Hide file tree
Showing 5 changed files with 282 additions and 260 deletions.
2 changes: 2 additions & 0 deletions plugin/plugins/umeng/platform/ios/AnalyticsUmeng.mm
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ void UmengLogD(const char * pszFormat, ...) {
return;
}
NSString* pKey = [NSString stringWithUTF8String:appKey];
[[MobClick class] performSelector:@selector(setWrapperType:wrapperVersion:) withObject:@"Cocos2d-x" withObject:@"1.0"];
[MobClick startWithAppkey:pKey];
}

Expand Down Expand Up @@ -311,6 +312,7 @@ void UmengLogD(const char * pszFormat, ...) {

NSString* key = [NSString stringWithUTF8String:appKey];
NSString* channel = [NSString stringWithUTF8String:channelId];
[[MobClick class] performSelector:@selector(setWrapperType:wrapperVersion:) withObject:@"Cocos2d-x" withObject:@"1.0"];
[MobClick startWithAppkey:key reportPolicy:(ReportPolicy)policy channelId:channel];
}

Expand Down
Loading

0 comments on commit e3565d4

Please sign in to comment.