fix:1、更换项目,使用winter来创建
This commit is contained in:
@@ -108,6 +108,18 @@ static EmailCryptType emailCryptTypeFromInt(int emailCryptTypeInt){
|
||||
return emailCryptType;
|
||||
}
|
||||
|
||||
static NSNumber *intFromNullableBool(const char *cStr) {
|
||||
if (!cStr) return nil;
|
||||
NSString *str = [NSString stringWithUTF8String:cStr];
|
||||
|
||||
if ([str caseInsensitiveCompare:@"true"] == NSOrderedSame) {
|
||||
return @YES;
|
||||
} else if ([str caseInsensitiveCompare:@"false"] == NSOrderedSame) {
|
||||
return @NO;
|
||||
}
|
||||
return nil;
|
||||
}
|
||||
|
||||
static AppsFlyerAdRevenueMediationNetworkType mediationNetworkTypeFromInt(int mediationNetworkInt){
|
||||
|
||||
AppsFlyerAdRevenueMediationNetworkType mediationNetworkType;
|
||||
|
||||
Reference in New Issue
Block a user