chore: release 0.3.11

This commit is contained in:
Bogdan Ivanov
2024-10-01 21:42:31 +03:00
parent b6f8376dbe
commit c86b2ff62a
3 changed files with 17 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Aptabase'
s.version = '0.3.10'
s.version = '0.3.11'
s.summary = 'Swift SDK for Aptabase: Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps'
s.homepage = 'https://aptabase.com'
s.license = { :type => 'MIT', :file => 'LICENSE' }

View File

@@ -1,3 +1,18 @@
## 0.3.11
* Reverts previous change which caused RELEASE data not to show up
* Adds an option to explicitly set the tracking mode to Debug or Release. Not setting this option will fallback to the previous reading of environment value.
- Setting to release
`Aptabase.shared.initialize(appKey: "", options: InitOptions(trackingMode: .asRelease))`
- Setting to debug
`Aptabase.shared.initialize(appKey: "", options: InitOptions(trackingMode: .asDebug))`
- Setting omitting the value, same as setting to `.readFromEnvironment`:
`Aptabase.shared.initialize(appKey: "")`
`Aptabase.shared.initialize(appKey: "", options: InitOptions(trackingMode: .readFromEnvironment))`
## 0.3.10
* Fix isDebug environment for multiple non RELEASE build configs https://github.com/aptabase/aptabase-swift/pull/24

View File

@@ -1,7 +1,7 @@
import Foundation
class AptabaseClient {
private static let sdkVersion = "aptabase-swift@0.3.10"
private static let sdkVersion = "aptabase-swift@0.3.11"
// Session expires after 1 hour of inactivity
private static let sessionTimeout: TimeInterval = 1 * 60 * 60