Skip to content

Commit

Permalink
fix: SDK 信息数据加密显示错误
Browse files Browse the repository at this point in the history
  • Loading branch information
YoloMao committed Dec 13, 2022
1 parent 740c77e commit 55b437c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/Core/Tools/GrowingTKSDKUtil.m
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,11 @@ - (BOOL)idMappingEnabled {

- (BOOL)encryptEnabled {
if (self.isSDK3rdGeneration) {
BOOL encryptEnabled = ((NSNumber *)[self.sdk3rdConfiguration valueForKey:@"encryptEnabled"]).boolValue;
if (encryptEnabled) {
return encryptEnabled;
}
// 3.4.0 之前版本
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
Class cls = NSClassFromString(@"GrowingEventRequestHeaderAdapter");
Expand Down

0 comments on commit 55b437c

Please sign in to comment.