From f0f6303df830721eb916827a485df4a0ce590ab5 Mon Sep 17 00:00:00 2001
From: adam1929 <103995671+adam1929@users.noreply.github.com>
Date: Fri, 11 Oct 2024 14:13:55 +0200
Subject: [PATCH] feat/Version 3.0.0
---
Documentation/notification-extensions.md | 2 +-
Documentation/release-notes.md | 30 +++++++++++++++++++
Documentation/setup.md | 2 +-
ExponeaSDK-Notifications.podspec | 2 +-
ExponeaSDK.podspec | 2 +-
ExponeaSDK/Example/Resources/Info.plist | 4 +--
.../ExampleNotificationContent/Info.plist | 4 +--
.../ExampleNotificationService/Info.plist | 4 +--
.../Supporting Files/Info.plist | 4 +--
.../ExponeaSDK/Supporting Files/Info.plist | 4 +--
.../ExponeaSDKShared/Classes/Exponea.swift | 2 +-
README.md | 6 ++--
12 files changed, 48 insertions(+), 18 deletions(-)
diff --git a/Documentation/notification-extensions.md b/Documentation/notification-extensions.md
index b64abe48..5c09712e 100644
--- a/Documentation/notification-extensions.md
+++ b/Documentation/notification-extensions.md
@@ -49,7 +49,7 @@ Follow the instructions in the relevant section for the dependency manager you u
Optionally, you can specify the ExponeaSDK version as follows to let `pod` automatically any smaller than minor version updates:
```
-pod "ExponeaSDK-Notifications", "~> 2.28.0"
+pod "ExponeaSDK-Notifications", "~> 3.0.0"
```
### Carthage
diff --git a/Documentation/release-notes.md b/Documentation/release-notes.md
index 913cc828..7222d83f 100644
--- a/Documentation/release-notes.md
+++ b/Documentation/release-notes.md
@@ -11,6 +11,36 @@ parentDocSlug: ios-sdk
> Refer to the [SDK version update guide](https://documentation.bloomreach.com/engagement/docs/ios-sdk-version-update) for details on updating to the next major version.
## Release Notes
+## Release Notes for 3.0.0
+#### October 11, 2024
+ * Added:
+ * Aligns GIF support across App Inbox, In-app messages, and In-app content blocks.
+ * Removes tracking by the SDK of the apple_push_notification_authorized customer parameter.
+ * Adds tracking of session end when calling anonymize() while auto session tracking is enabled.
+ * Adds a manualSessionAutoClose configuration parameter to override automatic session end tracking for open sessions when sessionStart is called multiple times.
+ * Adds tracking of a new state parameter to push notification delivery events.
+ * Updates the default session timeout to 60 seconds.
+ * Improves In-app content block carousel documentation.
+ * Improves the behavior of the Segmentation API’s getSegments method.
+ * Adds the identification of Cancel button clicks in In-app message close events and inclusion of the button label in the tracked event.
+ * Adds several minor documentation improvements.
+ * Fixed:
+ * Fixes the Segmentation API linkIds log level and improves the log messages.
+ * Fixes an issue where manual gestures caused an infinite loop in an In-app content block carousel.
+ * Fixes an issue where afterInit was called twice for a specific configure() function.
+ * Fixes an issue causing In-app content block carousel messages to flicker.
+ * Fixes an issue where reloading In-app messages triggered an infinite loop.
+ * Fixes an issue where multiple close events were tracked for HTML messages.
+ * Fixes an issue where fetching App Inbox after calling identifyCustomer returned corrupt data.
+ * Fixes incorrect URLs in the documentation.
+ * Fixes an issue where the In-app message selector ignored the presentation state.
+ * Fixes the InAppMesagePresenter log level.
+ * Fixes refreshing of In-app content blocks after identifyCustomer.
+ * Fixes incorrect Segmentation API category enum type from merchandise to merchandising.
+ * Fixes incorrect handling and tracking of multiple close buttons in HTML messages.
+ * Fixes case when segmentation callback do not return all data.
+
+
## Release Notes for 2.28.0
#### August 01, 2024
* Added:
diff --git a/Documentation/setup.md b/Documentation/setup.md
index 5258a786..864e7ba9 100644
--- a/Documentation/setup.md
+++ b/Documentation/setup.md
@@ -35,7 +35,7 @@ The instructions below are for Xcode 15.1 and may differ if you use a different
Optionally, you can specify the `ExponeaSDK` version as follows to let `pod` automatically any smaller than minor version updates:
```
-pod "ExponeaSDK", "~> 2.28.0"
+pod "ExponeaSDK", "~> 3.0.0"
```
For more information, refer to [Specifying pod versions](https://guides.cocoapods.org/using/the-podfile.html#specifying-pod-versions) in the Cocoapods documentation.
diff --git a/ExponeaSDK-Notifications.podspec b/ExponeaSDK-Notifications.podspec
index ebf8a70e..d00442d8 100644
--- a/ExponeaSDK-Notifications.podspec
+++ b/ExponeaSDK-Notifications.podspec
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#
s.name = "ExponeaSDK-Notifications"
- s.version = "2.28.0"
+ s.version = "3.0.0"
s.summary = "A completementary extension-safe framework for supporting rich push notifications in Exponea SDK."
# This description is used to generate tags and improve search results.
diff --git a/ExponeaSDK.podspec b/ExponeaSDK.podspec
index bbc5e2c5..bd203e5a 100644
--- a/ExponeaSDK.podspec
+++ b/ExponeaSDK.podspec
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#
s.name = "ExponeaSDK"
- s.version = "2.28.0"
+ s.version = "3.0.0"
s.summary = "Exponea SDK used to track and fetch data from Exponea Experience Cloud."
# This description is used to generate tags and improve search results.
diff --git a/ExponeaSDK/Example/Resources/Info.plist b/ExponeaSDK/Example/Resources/Info.plist
index c4d5815f..190f9af9 100644
--- a/ExponeaSDK/Example/Resources/Info.plist
+++ b/ExponeaSDK/Example/Resources/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 2.28.0
+ 3.0.0
CFBundleURLTypes
@@ -30,7 +30,7 @@
CFBundleVersion
- 90
+ 91
LSRequiresIPhoneOS
UIApplicationSceneManifest
diff --git a/ExponeaSDK/ExampleNotificationContent/Info.plist b/ExponeaSDK/ExampleNotificationContent/Info.plist
index 423003a1..995e3f9a 100644
--- a/ExponeaSDK/ExampleNotificationContent/Info.plist
+++ b/ExponeaSDK/ExampleNotificationContent/Info.plist
@@ -17,9 +17,9 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 2.28.0
+ 3.0.0
CFBundleVersion
- 90
+ 91
NSExtension
NSExtensionAttributes
diff --git a/ExponeaSDK/ExampleNotificationService/Info.plist b/ExponeaSDK/ExampleNotificationService/Info.plist
index 80458766..eba71221 100644
--- a/ExponeaSDK/ExampleNotificationService/Info.plist
+++ b/ExponeaSDK/ExampleNotificationService/Info.plist
@@ -17,9 +17,9 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 2.28.0
+ 3.0.0
CFBundleVersion
- 90
+ 91
NSExtension
NSExtensionPointIdentifier
diff --git a/ExponeaSDK/ExponeaSDK-Notifications/Supporting Files/Info.plist b/ExponeaSDK/ExponeaSDK-Notifications/Supporting Files/Info.plist
index 73a48c6f..20f7a82f 100644
--- a/ExponeaSDK/ExponeaSDK-Notifications/Supporting Files/Info.plist
+++ b/ExponeaSDK/ExponeaSDK-Notifications/Supporting Files/Info.plist
@@ -15,8 +15,8 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 2.28.0
+ 3.0.0
CFBundleVersion
- 90
+ 91
diff --git a/ExponeaSDK/ExponeaSDK/Supporting Files/Info.plist b/ExponeaSDK/ExponeaSDK/Supporting Files/Info.plist
index dcce7966..7d9aaecf 100644
--- a/ExponeaSDK/ExponeaSDK/Supporting Files/Info.plist
+++ b/ExponeaSDK/ExponeaSDK/Supporting Files/Info.plist
@@ -15,9 +15,9 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 2.28.0
+ 3.0.0
CFBundleVersion
- 90
+ 91
NSPrincipalClass
diff --git a/ExponeaSDK/ExponeaSDKShared/Classes/Exponea.swift b/ExponeaSDK/ExponeaSDKShared/Classes/Exponea.swift
index 8726b7ab..e57277bc 100644
--- a/ExponeaSDK/ExponeaSDKShared/Classes/Exponea.swift
+++ b/ExponeaSDK/ExponeaSDKShared/Classes/Exponea.swift
@@ -9,7 +9,7 @@
import Foundation
public class Exponea {
- public static let version = "2.28.0"
+ public static let version = "3.0.0"
/// A logger used to log all messages from the SDK.
public static var logger: Logger = Logger()
diff --git a/README.md b/README.md
index 1f4e7d2a..6175c9d7 100644
--- a/README.md
+++ b/README.md
@@ -21,11 +21,11 @@ It has been written 100% in Swift with ❤️
```ruby
# Add this under your main application target
-pod "ExponeaSDK", "~> 2.28.0"
+pod "ExponeaSDK", "~> 3.0.0"
# If you also use rich push notifications,
# add this line to your notification service extension target.
-pod "ExponeaSDK-Notifications", "~> 2.28.0"
+pod "ExponeaSDK-Notifications", "~> 3.0.0"
```
### Carthage
@@ -33,7 +33,7 @@ pod "ExponeaSDK-Notifications", "~> 2.28.0"
> Carthage will by default build both `ExponeaSDK` and `ExponeaSDKNotifications` frameworks. The latter one is only supposed to be used in a notification service extension if you wish to support rich push notifications. Read more about rich push notifications [here](https://documentation.bloomreach.com/engagement/docs/ios-sdk-push-notifications#rich-push-notifications).
```
-github "exponea/exponea-ios-sdk" ~> 2.28.0
+github "exponea/exponea-ios-sdk" ~> 3.0.0
```
> And then in your Command line tool type ```carthage update --use-xcframeworks --platform ios```