Skip to content

Commit

Permalink
# 5.6.5
Browse files Browse the repository at this point in the history
- mta bugfix
  • Loading branch information
karisli committed Aug 2, 2019
1 parent 0af7560 commit 31c4e03
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 13 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 5.6.5
- mta bugfix

# 5.6.4
pods提供瘦身版的s(去除MTA)

Expand Down
4 changes: 2 additions & 2 deletions QCloudCOSXML.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "QCloudCOSXML"

s.version = "5.6.4"
s.version = "5.6.5"

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

Expand All @@ -17,7 +17,7 @@ s.version = "5.6.4"
s.default_subspec = 'Default'
s.subspec 'Default' do |default|
default.source_files = 'QCloudCOSXML/Classes/**/*','Models/request.model','QCloudCOSXML/Classes/QCloudCOSXML/*'
default.dependency "QCloudCore",'5.6.4'
default.dependency "QCloudCore",'5.6.5'
end
s.subspec 'Slim' do |slim|
slim.source_files = 'QCloudCOSXML/Classes/**/*','Models/request.model','QCloudCOSXML/Classes/QCloudCOSXML/*'
Expand Down
7 changes: 6 additions & 1 deletion QCloudCOSXML/Classes/Base/QCloudCOSXMLService+Quality.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ + (void) initMTA {
Class config = [cls performSelector:NSSelectorFromString(@"getInstance")];
[config performSelector:NSSelectorFromString(@"setReportStrategy:") withObject:kQAUploadStrategy];
[config performSelector:NSSelectorFromString(@"setCustomerAppVersion:") withObject:QCloudCOSXMLModuleVersion];
[cls performSelector:NSSelectorFromString(@"startWithAppkey") withObject:kQAccount];
Class tacCls = NSClassFromString(@"TACMTA");
if (tacCls) {
[tacCls performSelector:NSSelectorFromString(@"startWithAppkey") withObject:kQAccount];
}



}else{
QCloudLogDebug(@"please pod MTA");
Expand Down
12 changes: 7 additions & 5 deletions QCloudCOSXML/Classes/Base/QualityDataUploader.m
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ +(BOOL)isNeedQuality:(Class)cls{
return NO;
}

+(id)internalUploadEvent:(NSString *)eventKey withParamter:(NSDictionary *)paramter {
Class cls = NSClassFromString(@"TACMTAErrorCode");
+(NSInteger)internalUploadEvent:(NSString *)eventKey withParamter:(NSDictionary *)paramter {

Class cls = NSClassFromString(@"TACMTA");
if (cls) {
Class result = [cls performSelector:NSSelectorFromString(@"trackCustomKeyValueEvent:props:") withObject:eventKey withObject:paramter];
return result;
NSInteger result = [[cls performSelector:NSSelectorFromString(@"trackCustomKeyValueEvent:props:") withObject:eventKey withObject:paramter] integerValue];
NSLog(@"test result === %ld",result);
return result;
}
return nil;
return 0;
}

+ (void)trackRequestSentWithType:(Class)cls {
Expand Down
2 changes: 1 addition & 1 deletion QCloudCOSXML/Classes/QCloudCOSXMLVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#ifndef QCloudCOSXMLModuleVersion_h
#define QCloudCOSXMLModuleVersion_h
#define QCloudCOSXMLModuleVersionNumber 506004
#define QCloudCOSXMLModuleVersionNumber 506005

//dependency

Expand Down
2 changes: 1 addition & 1 deletion QCloudCOSXML/Classes/QCloudCOSXMLVersion.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "QCloudCOSXMLVersion.h"
NSString * const QCloudCOSXMLModuleVersion = @"5.6.4";
NSString * const QCloudCOSXMLModuleVersion = @"5.6.5";
NSString * const QCloudCOSXMLModuleName = @"QCloudCOSXML";
@interface QCloudQCloudCOSXMLLoad : NSObject
@end
Expand Down
2 changes: 1 addition & 1 deletion QCloudCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = "QCloudCore"

s.version = "5.6.4"
s.version = "5.6.5"

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

Expand Down
2 changes: 1 addition & 1 deletion QCloudCore/Classes/QCloudCoreVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#ifndef QCloudCoreModuleVersion_h
#define QCloudCoreModuleVersion_h
#define QCloudCoreModuleVersionNumber 506004
#define QCloudCoreModuleVersionNumber 506005

//dependency

Expand Down
2 changes: 1 addition & 1 deletion QCloudCore/Classes/QCloudCoreVersion.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "QCloudCoreVersion.h"
NSString * const QCloudCoreModuleVersion = @"5.6.4";
NSString * const QCloudCoreModuleVersion = @"5.6.5";
NSString * const QCloudCoreModuleName = @"QCloudCore";
@interface QCloudQCloudCoreLoad : NSObject
@end
Expand Down

0 comments on commit 31c4e03

Please sign in to comment.