From b3144e4a567d86ce3c6ab15dad657776fa000212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B4=8B=E6=B4=8B?= Date: Fri, 1 Jul 2022 15:38:46 +0800 Subject: [PATCH] Release 4.4.0 --- SensorsAnalyticsSDK.podspec | 2 +- SensorsAnalyticsSDK/Core/SensorsAnalyticsSDK.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SensorsAnalyticsSDK.podspec b/SensorsAnalyticsSDK.podspec index 3a19d393..2147053b 100644 --- a/SensorsAnalyticsSDK.podspec +++ b/SensorsAnalyticsSDK.podspec @@ -23,7 +23,7 @@ Pod::Spec.new do |s| b.source_files = core_dir + "**/*.{h,m}" b.exclude_files = core_dir + "SAAlertController.h", core_dir + "SAAlertController.m" b.public_header_files = core_dir + "SensorsAnalyticsSDK.h", core_dir + "SensorsAnalyticsSDK+Public.h", core_dir + "SASecurityPolicy.h", core_dir + "SAConfigOptions.h", core_dir + "SAConstants.h", core_dir + "PropertyPlugin/SAPropertyPluginProtocol.h" - b.ios.resource = 'SensorsAnalyticsSDK/SensorsAnalyticsSDK.bundle' + b.resource = 'SensorsAnalyticsSDK/SensorsAnalyticsSDK.bundle' b.ios.frameworks = 'CoreTelephony' b.dependency 'SensorsAnalyticsSDK/__Store' end diff --git a/SensorsAnalyticsSDK/Core/SensorsAnalyticsSDK.m b/SensorsAnalyticsSDK/Core/SensorsAnalyticsSDK.m index 6298562d..7ef63cfe 100755 --- a/SensorsAnalyticsSDK/Core/SensorsAnalyticsSDK.m +++ b/SensorsAnalyticsSDK/Core/SensorsAnalyticsSDK.m @@ -582,7 +582,7 @@ - (void)appLifecycleStateDidChange:(NSNotification *)sender { #else dispatch_async(self.serialQueue, ^{ // 上传所有的数据 - [self.eventTracker flushAllEventRecords]; + [self flushAllEventRecords]; }); #endif