From 0c0ba7f19b1ea96528ed0a1bfb80fae7ce51c036 Mon Sep 17 00:00:00 2001 From: Alexey Troshkov Date: Fri, 6 Sep 2024 16:36:12 +0300 Subject: [PATCH] v3.1.6 --- PianoAnalytics-AppExtension.podspec | 2 +- PianoAnalytics.podspec | 2 +- Sources/PianoAnalytics/PianoAnalytics.swift | 2 +- Sources/PianoAnalytics/Steps/LifecycleStep.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PianoAnalytics-AppExtension.podspec b/PianoAnalytics-AppExtension.podspec index b41bb41..8d553c0 100644 --- a/PianoAnalytics-AppExtension.podspec +++ b/PianoAnalytics-AppExtension.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PianoAnalytics-AppExtension' - s.version = '3.1.5' + s.version = '3.1.6' s.summary = 'Piano Analytics solution for extension Apple devices' s.homepage = 'https://github.com/at-internet/piano-analytics-apple' s.documentation_url = 'https://developers.atinternet-solutions.com/piano-analytics' diff --git a/PianoAnalytics.podspec b/PianoAnalytics.podspec index 8b9b3c4..1289c09 100644 --- a/PianoAnalytics.podspec +++ b/PianoAnalytics.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PianoAnalytics' - s.version = '3.1.5' + s.version = '3.1.6' s.summary = 'Piano Analytics library for Apple devices' s.homepage = 'https://github.com/at-internet/piano-analytics-apple' s.documentation_url = 'https://developers.atinternet-solutions.com/piano-analytics' diff --git a/Sources/PianoAnalytics/PianoAnalytics.swift b/Sources/PianoAnalytics/PianoAnalytics.swift index 3fbc26c..fa8b2f0 100644 --- a/Sources/PianoAnalytics/PianoAnalytics.swift +++ b/Sources/PianoAnalytics/PianoAnalytics.swift @@ -47,7 +47,7 @@ public final class PianoAnalytics { // MARK: PUBLIC SECTION /// SDK version - public static let sdkVersion = "3.1.5" + public static let sdkVersion = "3.1.6" /// Send event /// diff --git a/Sources/PianoAnalytics/Steps/LifecycleStep.swift b/Sources/PianoAnalytics/Steps/LifecycleStep.swift index eb127d9..00fe762 100644 --- a/Sources/PianoAnalytics/Steps/LifecycleStep.swift +++ b/Sources/PianoAnalytics/Steps/LifecycleStep.swift @@ -115,7 +115,7 @@ final class LifecycleStep: Step { private final func `init`() { let ud = UserDefaults.standard - if !ud.bool(forKey: LifeCycleKeys.FirstSession.rawValue) && ud.bool(forKey: LifeCycleKeys.FirstInitLifecycleDone.rawValue) { + if ud.bool(forKey: LifeCycleKeys.FirstInitLifecycleDone.rawValue) { self.newSessionInit() } else { self.firstSessionInit()