From 89e93c908ac2be301ebefb7fcc20b016f68c7c79 Mon Sep 17 00:00:00 2001 From: Jiakan Wang <77478330+jkw-statsig@users.noreply.github.com> Date: Thu, 9 Jun 2022 11:47:30 -0700 Subject: [PATCH] support tvos (#121) --- Package.swift | 2 +- Sources/Statsig/DeviceEnvironment.swift | 2 +- Statsig.podspec | 2 +- StatsigInternalObjC.podspec | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Package.swift b/Package.swift index 60f0642..8a68b82 100644 --- a/Package.swift +++ b/Package.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "Statsig", - platforms: [.iOS(.v10)], + platforms: [.iOS(.v10), .tvOS(.v10)], products: [ .library( name: "Statsig", diff --git a/Sources/Statsig/DeviceEnvironment.swift b/Sources/Statsig/DeviceEnvironment.swift index 2b51015..efe6c3a 100644 --- a/Sources/Statsig/DeviceEnvironment.swift +++ b/Sources/Statsig/DeviceEnvironment.swift @@ -7,7 +7,7 @@ struct DeviceEnvironment { var deviceOS: String = "iOS" var sdkType: String = "ios-client" - var sdkVersion: String = "1.12.0" + var sdkVersion: String = "1.13.0" var sessionID: String? { UUID().uuidString } var systemVersion: String { UIDevice.current.systemVersion } var systemName: String { UIDevice.current.systemName } diff --git a/Statsig.podspec b/Statsig.podspec index 0937894..d4a5402 100644 --- a/Statsig.podspec +++ b/Statsig.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |spec| spec.name = "Statsig" - spec.version = "1.12.0" + spec.version = "1.13.0" spec.summary = "Statsig enables developers to ship code faster and more safely." spec.description = <<-DESC Statsig enables developers to ship code faster and more safely by providing: diff --git a/StatsigInternalObjC.podspec b/StatsigInternalObjC.podspec index 6ad15ad..75a6d84 100644 --- a/StatsigInternalObjC.podspec +++ b/StatsigInternalObjC.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |spec| spec.name = "StatsigInternalObjC" - spec.version = "1.12.0" + spec.version = "1.13.0" spec.summary = "Statsig enables developers to ship code faster and more safely." spec.description = <<-DESC Statsig enables developers to ship code faster and more safely.