[M] sync with n3
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <XYSDK/XYSDK.h>
|
||||
#import <GASDK/GAConstants.h>
|
||||
#import <GASDK/GASDK.h>
|
||||
#import <GASDK/GASDK.h>
|
||||
#import "TYConfig.h"
|
||||
|
||||
#define TOKEN_ERROR @"-8"
|
||||
@@ -228,9 +228,10 @@ extern "C" {
|
||||
NSError* err;
|
||||
NSDictionary *dic = [NSJSONSerialization JSONObjectWithData:jsonData options:NSJSONReadingMutableContainers error:&err];
|
||||
if(!err){
|
||||
[[GASDK getGAlog:SDK_PROJECTID] initWithGameId:SDK_GAMEID clientId:SDK_CLIENTID withCommonParams:dic serverUrl:GA_INTERNATIONAL];
|
||||
NSString* nsEvent = [NSString stringWithFormat: @"%s", eventstr];
|
||||
GASDK *gaSDK = [GASDK getGAlog:SDK_PROJECTID];
|
||||
[gaSDK track:dic type:GAEventType(type) event:nsEvent];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void LinkGoogle(const int userId)
|
||||
|
||||
Reference in New Issue
Block a user