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 1a1181d commit 0da35d0
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-dynamic/releases/download/10.0.0/BrazeKit.zip',
:sha256 => 'd63d717a756228c5d88a0e2170a52540e5347f21bcac584c05c4c8c40c4f96e6'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeKit.zip',
:sha256 => '9c230564505ba9c6b0430c3fc17cbe0bafbbf56e9e15ef59c1a6374846092b4b'
}

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-dynamic/releases/download/10.0.0/BrazeKitCompat.zip',
:sha256 => 'ae751a10699320c4e974d9c2a47eb4a86d92da1194b14aece59760a85c804385'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeKitCompat.zip',
:sha256 => 'abbdb60c71cf9a3eb8b9b029358336ec34c05aea038f4bd37243131a44050b66'
}

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-dynamic/releases/download/10.0.0/BrazeLocation.zip',
:sha256 => '5c6fa42fa49fe07eed4bea340288b213b96686b398f2b092a68e92c5c75378e4'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeLocation.zip',
:sha256 => '38af0af5d23d9d9b630d84eeb628e22a7f61e01f80eb5c17a0edea2ef92a9b61'
}

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-dynamic/releases/download/10.0.0/BrazeNotificationService.zip',
:sha256 => 'eb8e4d1b34f2e47759bc14ce6b5e9cb95951404a27c37318a9fbb011a3c67bcf'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeNotificationService.zip',
:sha256 => 'd5b5470843ce661a518e1ed1f2d52a2a34d8f333e921544f15e4d13fe754d31c'
}

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-dynamic/releases/download/10.0.0/BrazePushStory.zip',
:sha256 => '16d5a11204da50b904a31b0ca476924cced90279098885fa78af59ba0e89f1da'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazePushStory.zip',
:sha256 => '8be9cdae4b493c494457af2c5c6293443993adbffd30e819c8e1b51a12e3729c'
}

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-dynamic/releases/download/10.0.0/BrazeUI.zip',
:sha256 => 'd8c4b4b311bab57343051255e87e2ed80646bb3f200ad3999558f395d2edef90'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeUI.zip',
:sha256 => '80b1076be946179f85c57b724eb4f8e55d804aa73c0060aa45529b9ef74ad2c2'
}

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-dynamic/releases/download/10.0.0/BrazeUICompat.zip',
:sha256 => 'c86235f7cfb77662a9a97df2346b71bf9b6b90cbb0cb7f6cf76c00863be85b4c'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeUICompat.zip',
:sha256 => '35936ddff6c74b37ee0a2c3ad225bf5659af6568ad59b92b8a6d64997ba531c6'
}

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-dynamic/releases/download/10.0.0/BrazeKit.zip",
checksum: "d63d717a756228c5d88a0e2170a52540e5347f21bcac584c05c4c8c40c4f96e6"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeKit.zip",
checksum: "9c230564505ba9c6b0430c3fc17cbe0bafbbf56e9e15ef59c1a6374846092b4b"
),
.binaryTarget(
name: "BrazeUI",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.0.0/BrazeUI.zip",
checksum: "d8c4b4b311bab57343051255e87e2ed80646bb3f200ad3999558f395d2edef90"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeUI.zip",
checksum: "80b1076be946179f85c57b724eb4f8e55d804aa73c0060aa45529b9ef74ad2c2"
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.0.0/BrazeLocation.zip",
checksum: "5c6fa42fa49fe07eed4bea340288b213b96686b398f2b092a68e92c5c75378e4"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeLocation.zip",
checksum: "38af0af5d23d9d9b630d84eeb628e22a7f61e01f80eb5c17a0edea2ef92a9b61"
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.0.0/BrazeNotificationService.zip",
checksum: "eb8e4d1b34f2e47759bc14ce6b5e9cb95951404a27c37318a9fbb011a3c67bcf"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeNotificationService.zip",
checksum: "d5b5470843ce661a518e1ed1f2d52a2a34d8f333e921544f15e4d13fe754d31c"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.0.0/BrazePushStory.zip",
checksum: "16d5a11204da50b904a31b0ca476924cced90279098885fa78af59ba0e89f1da"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazePushStory.zip",
checksum: "8be9cdae4b493c494457af2c5c6293443993adbffd30e819c8e1b51a12e3729c"
),
.binaryTarget(
name: "BrazeKitCompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.0.0/BrazeKitCompat.zip",
checksum: "ae751a10699320c4e974d9c2a47eb4a86d92da1194b14aece59760a85c804385"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeKitCompat.zip",
checksum: "abbdb60c71cf9a3eb8b9b029358336ec34c05aea038f4bd37243131a44050b66"
),
.binaryTarget(
name: "BrazeUICompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.0.0/BrazeUICompat.zip",
checksum: "c86235f7cfb77662a9a97df2346b71bf9b6b90cbb0cb7f6cf76c00863be85b4c"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.1.0/BrazeUICompat.zip",
checksum: "35936ddff6c74b37ee0a2c3ad225bf5659af6568ad59b92b8a6d64997ba531c6"
),
]
)
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 0da35d0

Please sign in to comment.