Skip to content

Commit 31c4e03

Browse files
author
karisli
committed
# 5.6.5
- mta bugfix
1 parent 0af7560 commit 31c4e03

File tree

9 files changed

+23
-13
lines changed

9 files changed

+23
-13
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 5.6.5
2+
- mta bugfix
3+
14
# 5.6.4
25
pods提供瘦身版的s(去除MTA)
36

QCloudCOSXML.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "QCloudCOSXML"
33

4-
s.version = "5.6.4"
4+
s.version = "5.6.5"
55

66
s.summary = "QCloudCOSXML 腾讯云iOS-SDK组件"
77

@@ -17,7 +17,7 @@ s.version = "5.6.4"
1717
s.default_subspec = 'Default'
1818
s.subspec 'Default' do |default|
1919
default.source_files = 'QCloudCOSXML/Classes/**/*','Models/request.model','QCloudCOSXML/Classes/QCloudCOSXML/*'
20-
default.dependency "QCloudCore",'5.6.4'
20+
default.dependency "QCloudCore",'5.6.5'
2121
end
2222
s.subspec 'Slim' do |slim|
2323
slim.source_files = 'QCloudCOSXML/Classes/**/*','Models/request.model','QCloudCOSXML/Classes/QCloudCOSXML/*'

QCloudCOSXML/Classes/Base/QCloudCOSXMLService+Quality.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ + (void) initMTA {
4747
Class config = [cls performSelector:NSSelectorFromString(@"getInstance")];
4848
[config performSelector:NSSelectorFromString(@"setReportStrategy:") withObject:kQAUploadStrategy];
4949
[config performSelector:NSSelectorFromString(@"setCustomerAppVersion:") withObject:QCloudCOSXMLModuleVersion];
50-
[cls performSelector:NSSelectorFromString(@"startWithAppkey") withObject:kQAccount];
50+
Class tacCls = NSClassFromString(@"TACMTA");
51+
if (tacCls) {
52+
[tacCls performSelector:NSSelectorFromString(@"startWithAppkey") withObject:kQAccount];
53+
}
54+
55+
5156

5257
}else{
5358
QCloudLogDebug(@"please pod MTA");

QCloudCOSXML/Classes/Base/QualityDataUploader.m

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ +(BOOL)isNeedQuality:(Class)cls{
6161
return NO;
6262
}
6363

64-
+(id)internalUploadEvent:(NSString *)eventKey withParamter:(NSDictionary *)paramter {
65-
Class cls = NSClassFromString(@"TACMTAErrorCode");
64+
+(NSInteger)internalUploadEvent:(NSString *)eventKey withParamter:(NSDictionary *)paramter {
65+
66+
Class cls = NSClassFromString(@"TACMTA");
6667
if (cls) {
67-
Class result = [cls performSelector:NSSelectorFromString(@"trackCustomKeyValueEvent:props:") withObject:eventKey withObject:paramter];
68-
return result;
68+
NSInteger result = [[cls performSelector:NSSelectorFromString(@"trackCustomKeyValueEvent:props:") withObject:eventKey withObject:paramter] integerValue];
69+
NSLog(@"test result === %ld",result);
70+
return result;
6971
}
70-
return nil;
72+
return 0;
7173
}
7274

7375
+ (void)trackRequestSentWithType:(Class)cls {

QCloudCOSXML/Classes/QCloudCOSXMLVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#ifndef QCloudCOSXMLModuleVersion_h
77
#define QCloudCOSXMLModuleVersion_h
8-
#define QCloudCOSXMLModuleVersionNumber 506004
8+
#define QCloudCOSXMLModuleVersionNumber 506005
99

1010
//dependency
1111

QCloudCOSXML/Classes/QCloudCOSXMLVersion.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#import "QCloudCOSXMLVersion.h"
2-
NSString * const QCloudCOSXMLModuleVersion = @"5.6.4";
2+
NSString * const QCloudCOSXMLModuleVersion = @"5.6.5";
33
NSString * const QCloudCOSXMLModuleName = @"QCloudCOSXML";
44
@interface QCloudQCloudCOSXMLLoad : NSObject
55
@end

QCloudCore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Pod::Spec.new do |s|
1010
s.name = "QCloudCore"
1111

12-
s.version = "5.6.4"
12+
s.version = "5.6.5"
1313

1414
s.summary = "QCloudCore--腾讯云iOS-SDK Foundation"
1515

QCloudCore/Classes/QCloudCoreVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#ifndef QCloudCoreModuleVersion_h
77
#define QCloudCoreModuleVersion_h
8-
#define QCloudCoreModuleVersionNumber 506004
8+
#define QCloudCoreModuleVersionNumber 506005
99

1010
//dependency
1111

QCloudCore/Classes/QCloudCoreVersion.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#import "QCloudCoreVersion.h"
2-
NSString * const QCloudCoreModuleVersion = @"5.6.4";
2+
NSString * const QCloudCoreModuleVersion = @"5.6.5";
33
NSString * const QCloudCoreModuleName = @"QCloudCore";
44
@interface QCloudQCloudCoreLoad : NSObject
55
@end

0 commit comments

Comments
 (0)