version 0.2.0

This commit is contained in:
goenning
2023-06-21 18:23:45 +01:00
parent 00bf2a3894
commit 47b611d0db
4 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Aptabase'
s.version = '0.1.0'
s.version = '0.2.0'
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,7 @@
## 0.2.0
* Added support for ObjC
## 0.1.0
* General refactor

View File

@@ -19,7 +19,7 @@ let package = Package(
...
dependencies: [
...
.package(name: "Aptabase", url: "https://github.com/aptabase/aptabase-swift.git", from: "0.1.0"),
.package(name: "Aptabase", url: "https://github.com/aptabase/aptabase-swift.git", from: "0.2.0"),
],
targets: [
.target(
@@ -39,7 +39,7 @@ Use this [guide](https://developer.apple.com/documentation/xcode/adding-package-
Aptabase is alsoavailable through CocoaPods. To install it, simply add the following line to your Podfile:
```ruby
pod 'Aptabase', :git => 'https://github.com/aptabase/aptabase-swift.git', :tag => '0.1.0'
pod 'Aptabase', :git => 'https://github.com/aptabase/aptabase-swift.git', :tag => '0.2.0'
```

View File

@@ -10,7 +10,7 @@ public final class InitOptions: NSObject {
// The Aptabase client used to track events
public class Aptabase: NSObject {
private static var sdkVersion = "aptabase-swift@0.1.0";
private static var sdkVersion = "aptabase-swift@0.2.0";
// Session expires after 1 hour of inactivity
private var sessionTimeout: TimeInterval = 1 * 60 * 60