Skip to content

Commit

Permalink
Version 10.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hokstuff committed Aug 22, 2024
1 parent 8f4f343 commit 9bda682
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 41 deletions.
6 changes: 3 additions & 3 deletions BrazeKit.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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'
Expand Down
10 changes: 5 additions & 5 deletions BrazeKitCompat.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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'
Expand All @@ -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
8 changes: 4 additions & 4 deletions BrazeLocation.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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'
Expand All @@ -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
6 changes: 3 additions & 3 deletions BrazeNotificationService.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions BrazePushStory.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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'
Expand Down
8 changes: 4 additions & 4 deletions BrazeUI.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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'
Expand All @@ -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
8 changes: 4 additions & 4 deletions BrazeUICompat.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -9,16 +9,16 @@ 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'
s.ios.deployment_target = '12.0'

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' }
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
28 changes: 14 additions & 14 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
),
]
)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<p align="center">
<a href="https://github.com/braze-inc/braze-swift-sdk/releases">
<img src="https://badgen.net/badge/version/10.0.0/blue" alt="Version: 10.0.0">
<img src="https://badgen.net/badge/version/10.1.0/blue" alt="Version: 10.1.0">
</a>
<a href="#">
<img src="https://badgen.net/badge/platforms/iOS%20%7C%20visionOS%20%7C%20tvOS%20%7C%20Mac%20Catalyst/orange"
Expand Down

0 comments on commit 9bda682

Please sign in to comment.