Skip to content

Commit

Permalink
trying to get something out
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaysubra committed Sep 25, 2024
1 parent 7170b38 commit fa875b6
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion KlaviyoCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "KlaviyoCore"
s.version = "0.1.0"
s.version = "1.0.0"
s.summary = "Core functionalities for the Klaviyo SDK"
s.description = <<-DESC
Core functionalities and utilities for the Klaviyo SDK.
Expand Down
4 changes: 2 additions & 2 deletions KlaviyoSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "KlaviyoSwift"
s.version = "3.2.0"
s.version = "4.0.0"
s.summary = "Incorporate Klaviyo's event and person tracking and push notifications functionality into iOS applications"

s.description = <<-DESC
Expand All @@ -16,6 +16,6 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '13.0'
s.source_files = 'Sources/KlaviyoSwift/**/*.swift'
s.resource_bundles = {"KlaviyoSwift" => ["Sources/KlaviyoSwift/PrivacyInfo.xcprivacy"]}
s.dependency 'KlaviyoCore', '~> 0.1.0'
s.dependency 'KlaviyoCore', '~> 1.0.0'
s.dependency 'AnyCodable-FlightSchool'
end
2 changes: 1 addition & 1 deletion KlaviyoSwiftExtension.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "KlaviyoSwiftExtension"
s.version = "3.2.0"
s.version = "4.0.0"
s.summary = "Incorporate Klaviyo's rich push notifications functionality into your iOS applications"

s.description = <<-DESC
Expand Down
7 changes: 7 additions & 0 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@

This guide outlines how developers can migrate from older versions of our SDK to newer ones.

## Migrating to v4.0.0

### `Event.EventName` enum:

- We have removed the PascalCase names in the `Event.EventName` enum, leaving only the camelCase names. You will need to remove any references to the old PascalCase names. See [Migrating to v3.3.0](https://github.com/klaviyo/klaviyo-swift-sdk/blob/as/rel-400/MIGRATION_GUIDE.md#migrating-to-v330) below for more details.
- We have removed the `.OpenedPush` case (there is no camelCase replacement), as this is intended for internal use only. You will need to remove any references to the `.OpenedPush` case.

## Migrating to v3.3.0

We've updated the case names in the `Event.EventName` enum from PascalCase to camelCase, to be consistent with [Swift naming conventions](https://docs.swift.org/swift-book/documentation/the-swift-programming-language/enumerations/).
Expand Down
2 changes: 1 addition & 1 deletion Sources/KlaviyoCore/Utils/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
import Foundation

public let __klaviyoSwiftName = "swift"
public let __klaviyoSwiftVersion = "3.2.0"
public let __klaviyoSwiftVersion = "4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"OS Version" : "1.1.1",
"Push Token" : "",
"SDK Name" : "swift",
"SDK Version" : "3.2.0",
"SDK Version" : "4.0.0",
"stuff" : 2
},
"time" : "2009-02-13T23:31:30Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"manufacturer" : "Orange",
"os_name" : "iOS",
"os_version" : "1.1.1",
"sdk_version" : "3.2.0"
"sdk_version" : "4.0.0"
},
"enablement_status" : "AUTHORIZED",
"platform" : "ios",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"manufacturer" : "Orange",
"os_name" : "iOS",
"os_version" : "1.1.1",
"sdk_version" : "3.2.0"
"sdk_version" : "4.0.0"
},
"enablement_status" : "AUTHORIZED",
"platform" : "ios",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- "deflate"
▿ (2 elements)
- key: "User-Agent"
- value: "FooApp/1.2.3 (com.klaviyo.fooapp; build:1; iOS 1.1.1) klaviyo-ios/3.2.0"
- value: "FooApp/1.2.3 (com.klaviyo.fooapp; build:1; iOS 1.1.1) klaviyo-ios/4.0.0"
▿ (2 elements)
- key: "X-Klaviyo-Mobile"
- value: "1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- "FooApp/1.2.3 (com.klaviyo.fooapp; build:1; iOS 1.1.1) klaviyo-ios/3.2.0"
- "FooApp/1.2.3 (com.klaviyo.fooapp; build:1; iOS 1.1.1) klaviyo-ios/4.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"manufacturer" : "Orange",
"os_name" : "iOS",
"os_version" : "1.1.1",
"sdk_version" : "3.2.0"
"sdk_version" : "4.0.0"
},
"pushBackground" : "AVAILABLE",
"pushEnablement" : "AUTHORIZED",
Expand All @@ -42,7 +42,7 @@
"manufacturer" : "Orange",
"os_name" : "iOS",
"os_version" : "1.1.1",
"sdk_version" : "3.2.0"
"sdk_version" : "4.0.0"
},
"enablement_status" : "AUTHORIZED",
"platform" : "ios",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- manufacturer: "Orange"
- osName: "iOS"
- osVersion: "1.1.1"
- sdkVersion: "3.2.0"
- sdkVersion: "4.0.0"
- pushBackground: PushBackground.available
- pushEnablement: PushEnablement.authorized
- pushToken: "blob_token"
Expand Down

0 comments on commit fa875b6

Please sign in to comment.