From 9bda6825bc5aa6d6e2976854c28eccab14a7dec4 Mon Sep 17 00:00:00 2001 From: Daniel Hok Date: Thu, 22 Aug 2024 14:46:20 -0400 Subject: [PATCH] Version 10.1.0 --- BrazeKit.podspec | 6 +++--- BrazeKitCompat.podspec | 10 +++++----- BrazeLocation.podspec | 8 ++++---- BrazeNotificationService.podspec | 6 +++--- BrazePushStory.podspec | 6 +++--- BrazeUI.podspec | 8 ++++---- BrazeUICompat.podspec | 8 ++++---- CHANGELOG.md | 16 ++++++++++++++++ Package.swift | 28 ++++++++++++++-------------- README.md | 2 +- 10 files changed, 57 insertions(+), 41 deletions(-) diff --git a/BrazeKit.podspec b/BrazeKit.podspec index a1aabc7..0b8932b 100644 --- a/BrazeKit.podspec +++ b/BrazeKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKit' - s.version = '10.0.0' + s.version = '10.1.0' s.summary = 'Braze Main SDK library providing support for analytics and push notifications.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeKit.zip', - :sha256 => 'f4f441f0c505061ae766f034a504317c8bd0c19606ab3cfaec66c06485e448e4' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeKit.zip', + :sha256 => '2550015273131cc85d3fb5aa56f2c842eeb6837b71d1e9c8637c04d13091e279' } s.swift_version = '5.0' diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec index 0850f9a..495ed02 100644 --- a/BrazeKitCompat.podspec +++ b/BrazeKitCompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKitCompat' - s.version = '10.0.0' + s.version = '10.1.0' s.summary = 'Compatibility library for users migrating from AppboyKit.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeKitCompat.zip', - :sha256 => '4ed6785e7e0080399e2427336afd3cb529646d2637c1da78e999b67069f4ca88' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeKitCompat.zip', + :sha256 => '7653e950b6b43409fa1b1ca8b6dfe15278ee9852610a5619ac1186a169961a41' } s.swift_version = '5.0' @@ -19,8 +19,8 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeKitCompat.xcframework' - s.dependency 'BrazeKit', '10.0.0' - s.dependency 'BrazeLocation', '10.0.0' + s.dependency 'BrazeKit', '10.1.0' + s.dependency 'BrazeLocation', '10.1.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeLocation.podspec b/BrazeLocation.podspec index ade9e9c..8e14367 100644 --- a/BrazeLocation.podspec +++ b/BrazeLocation.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeLocation' - s.version = '10.0.0' + s.version = '10.1.0' s.summary = 'Braze location library providing support for location analytics and geofence monitoring.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeLocation.zip', - :sha256 => '279616344afd027fb45703748d67ad1a324c512cf17cb553ed2628bb966743c4' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeLocation.zip', + :sha256 => '4902a2838104f433750785911ce28a74dc8ae81d0e27cc1f8fe2023c068018bd' } s.swift_version = '5.0' @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeLocation.xcframework' - s.dependency 'BrazeKit', '10.0.0' + s.dependency 'BrazeKit', '10.1.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeNotificationService.podspec b/BrazeNotificationService.podspec index bd18001..a783d08 100644 --- a/BrazeNotificationService.podspec +++ b/BrazeNotificationService.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeNotificationService' - s.version = '10.0.0' + s.version = '10.1.0' s.summary = 'Braze notification service extension library providing support for Rich Push notifications.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeNotificationService.zip', - :sha256 => '65a702eebeb48445b60a21e10321f17e0025ecb605e1b1f03183c90d9c1e60db' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeNotificationService.zip', + :sha256 => '7e2f698ae4f0b97f3f0ec565a761558733fd1ca71d08357e2ae19927f3284a1f' } s.swift_version = '5.0' diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec index beee2b1..e405017 100644 --- a/BrazePushStory.podspec +++ b/BrazePushStory.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazePushStory' - s.version = '10.0.0' + s.version = '10.1.0' s.summary = 'Braze notification content extension library providing support for Push Stories.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazePushStory.zip', - :sha256 => '0c6e4e01c43101c0a2778e8b405cfba8b1a9bd7b54f96e991075e3e663d1009d' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazePushStory.zip', + :sha256 => '8e90ef84fe4c371fef38b1a94ce9a55fa5034f0d50fc7e3161b83a2abb78125f' } s.swift_version = '5.0' diff --git a/BrazeUI.podspec b/BrazeUI.podspec index 7e7e613..a9a626d 100644 --- a/BrazeUI.podspec +++ b/BrazeUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUI' - s.version = '10.0.0' + s.version = '10.1.0' s.summary = 'Braze-provided user interface library for In-App Messages and Content Cards.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeUI.zip', - :sha256 => 'd9f9d081d433fe5cbd8c13aea75ae373e7a74939692cfd3b4ab133a612f76377' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeUI.zip', + :sha256 => '21021a6bccab22eea86a12330f8451a7f23fb6e29ab62685ec949d04c0edd0cb' } s.swift_version = '5.0' @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeUI.xcframework' - s.dependency 'BrazeKit', '10.0.0' + s.dependency 'BrazeKit', '10.1.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeUICompat.podspec b/BrazeUICompat.podspec index 1522222..baa7bbd 100644 --- a/BrazeUICompat.podspec +++ b/BrazeUICompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUICompat' - s.version = '10.0.0' + s.version = '10.1.0' s.summary = 'Compatibility UI library for users migrating from AppboyUI.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeUICompat.zip', - :sha256 => 'aab87d10ede7973f4e38868a3a56d463f73810aa1e33a950113ebb74ea851773' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeUICompat.zip', + :sha256 => 'd34cf0c9d87852490492fe85d945e0afa56a15779505bc3cbf5bda87aa3d35dc' } s.swift_version = '5.0' @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeUICompat.xcframework' - s.dependency 'BrazeKitCompat', '10.0.0' + s.dependency 'BrazeKitCompat', '10.1.0' s.dependency 'SDWebImage', '>= 5.19.0', '< 6' s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' } diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bd3ca7..6e358da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## 10.1.0 + +##### Fixed +- Fixes an issue affecting the Objective-C variants of `BrazeDelegate`, `BrazeContentCardUIViewControllerDelegate` and `BrazeInAppMessageUIDelegate`. + - When setting these delegates in Objective-C a second time, the delegate would end up being set to `nil`. + - This issue has been resolved and the delegates can now be set multiple times without issue. + +##### Added +- Adds support for delayed SDK initialization, allowing you to create the Braze instance outside of `application(_:didFinishLaunchingWithOptions:)`. + - The SDK can now be initialized asynchronously, while conserving the ability to process incoming Braze push notifications. + - Symbol documentation: [`Braze.prepareForDelayedInitialization(pushAutomation:)`](https://braze-inc.github.io/braze-swift-sdk/documentation/brazekit/braze/preparefordelayedinitialization(pushautomation:)) + - Integration documentation: [_Delayed Initialization_](https://braze.com/docs/developer_guide/platform_integration_guides/swift/advanced_use_cases/delayed_initialization/) + - Sample app: [_PushNotifications-DelayedInitialization_](https://github.com/braze-inc/braze-swift-sdk/tree/main/Examples#pushnotifications-delayedinitialization). +- Adds the ability to prevent showing an in-app message to a different user than the one that triggered the in-app message. + - To enable this feature, set [`Braze.Configuration.preventInAppMessageDisplayForDifferentUser`](https://braze-inc.github.io/braze-swift-sdk/documentation/brazekit/braze/configuration-swift.class/preventinappmessagedisplayfordifferentuser) to `true` (default: `false`). + ## 10.0.0 ##### Breaking diff --git a/Package.swift b/Package.swift index 5fb5988..b6a42e9 100644 --- a/Package.swift +++ b/Package.swift @@ -49,38 +49,38 @@ let package = Package( targets: [ .binaryTarget( name: "BrazeKit", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeKit.zip", - checksum: "f4f441f0c505061ae766f034a504317c8bd0c19606ab3cfaec66c06485e448e4" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeKit.zip", + checksum: "2550015273131cc85d3fb5aa56f2c842eeb6837b71d1e9c8637c04d13091e279" ), .binaryTarget( name: "BrazeUI", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeUI.zip", - checksum: "d9f9d081d433fe5cbd8c13aea75ae373e7a74939692cfd3b4ab133a612f76377" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeUI.zip", + checksum: "21021a6bccab22eea86a12330f8451a7f23fb6e29ab62685ec949d04c0edd0cb" ), .binaryTarget( name: "BrazeLocation", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeLocation.zip", - checksum: "279616344afd027fb45703748d67ad1a324c512cf17cb553ed2628bb966743c4" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeLocation.zip", + checksum: "4902a2838104f433750785911ce28a74dc8ae81d0e27cc1f8fe2023c068018bd" ), .binaryTarget( name: "BrazeNotificationService", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeNotificationService.zip", - checksum: "65a702eebeb48445b60a21e10321f17e0025ecb605e1b1f03183c90d9c1e60db" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeNotificationService.zip", + checksum: "7e2f698ae4f0b97f3f0ec565a761558733fd1ca71d08357e2ae19927f3284a1f" ), .binaryTarget( name: "BrazePushStory", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazePushStory.zip", - checksum: "0c6e4e01c43101c0a2778e8b405cfba8b1a9bd7b54f96e991075e3e663d1009d" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazePushStory.zip", + checksum: "8e90ef84fe4c371fef38b1a94ce9a55fa5034f0d50fc7e3161b83a2abb78125f" ), .binaryTarget( name: "BrazeKitCompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeKitCompat.zip", - checksum: "4ed6785e7e0080399e2427336afd3cb529646d2637c1da78e999b67069f4ca88" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeKitCompat.zip", + checksum: "7653e950b6b43409fa1b1ca8b6dfe15278ee9852610a5619ac1186a169961a41" ), .binaryTarget( name: "BrazeUICompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.0.0/BrazeUICompat.zip", - checksum: "aab87d10ede7973f4e38868a3a56d463f73810aa1e33a950113ebb74ea851773" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.1.0/BrazeUICompat.zip", + checksum: "d34cf0c9d87852490492fe85d945e0afa56a15779505bc3cbf5bda87aa3d35dc" ), ] ) diff --git a/README.md b/README.md index 90d21c8..c32f1f0 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- Version: 10.0.0 + Version: 10.1.0