Skip to content

Commit

Permalink
Version 10.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lowip committed Sep 13, 2024
1 parent f61f8aa commit 1c802b8
Show file tree
Hide file tree
Showing 10 changed files with 55 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.2.0'
s.version = '10.3.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.2.0/BrazeKit.zip',
:sha256 => 'b3794c5750bc683416fe20b11537781f427e6e0b2e5fb16bb6d9282d1466b34e'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeKit.zip',
:sha256 => '6b40aaf369275f96639c6c3c7c17795e0609fcef29fb2ba38ade918485ad4ad5'
}

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.2.0'
s.version = '10.3.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.2.0/BrazeKitCompat.zip',
:sha256 => 'fb7aec4a2b7d50dc692c73c521320920f82a3e01abc3e423b154d66c695663e7'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeKitCompat.zip',
:sha256 => '399a762fe0d838c73d9c965ed20563f49b573cd5ee020a003a4557bf35e265b7'
}

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.2.0'
s.dependency 'BrazeLocation', '10.2.0'
s.dependency 'BrazeKit', '10.3.0'
s.dependency 'BrazeLocation', '10.3.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.2.0'
s.version = '10.3.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.2.0/BrazeLocation.zip',
:sha256 => '48d415f1ab0e0a812ff8eaab042fa0fa380c40d28cce39f0c3691d8adc768e14'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeLocation.zip',
:sha256 => 'c0c5540cc9b29b40e827ccb803e71f755ad8e4c1c2318c880f123e6c852b5d1b'
}

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.2.0'
s.dependency 'BrazeKit', '10.3.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.2.0'
s.version = '10.3.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.2.0/BrazeNotificationService.zip',
:sha256 => '8731e60799843357c62616646df46607aeecf36305ee735f2376851e5bdbe1c2'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeNotificationService.zip',
:sha256 => 'b3190ffcb232021b5dcecb9b0ce78c6e35e7ce188949cfbba349ff5b1a72e685'
}

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.2.0'
s.version = '10.3.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.2.0/BrazePushStory.zip',
:sha256 => 'dc026b8f881efa4d73da824fe188e72537edd2b8548d66487d13e65232a546ab'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazePushStory.zip',
:sha256 => '8e2b6c3efc01c682ea0ddad17f393af8d0a8531a6efd7f713ee63df9fdb5bc9e'
}

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.2.0'
s.version = '10.3.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.2.0/BrazeUI.zip',
:sha256 => '96825c05b256c561771881f80800ef534e2e346d4e0ca7cc1e4d8b2a550d29a3'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeUI.zip',
:sha256 => '4184a24e1fc7230d5b78bf59e52bac6fc89d511c82789a57933b531bfc0ccb43'
}

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.2.0'
s.dependency 'BrazeKit', '10.3.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.2.0'
s.version = '10.3.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.2.0/BrazeUICompat.zip',
:sha256 => '52866af6f61066112a9d117e57a3df5768a4eb8859c009b41b9b55403c0ec961'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeUICompat.zip',
:sha256 => '6a992f1ed8d211a897ad62917fdddc94ce18df3869e871ad527cb6573a05afe3'
}

s.swift_version = '5.0'
s.ios.deployment_target = '12.0'

s.vendored_framework = 'BrazeUICompat.xcframework'

s.dependency 'BrazeKitCompat', '10.2.0'
s.dependency 'BrazeKitCompat', '10.3.0'
s.dependency 'SDWebImage', '>= 5.19.0', '< 6'

s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 10.3.0

##### Fixed
- Fixes the in-app message orientation validation logic, which prevented certain device classes from displaying messages under certain orientation configurations.
- Fixes the default behavior on full-screen in-app messages to display as modals only on tablet screen sizes.
- Previously, full-screen messages would erroneously default to modal presentations on some larger phones.
- Fixes a crash when dismissing a slideup in-app message before it has finished presenting.
- Fixes an issue on iOS 18.0+ where the in-app message UI would persist on the screen when attempting to dismiss the message before it has finished presenting.
- Updates custom attribute value, custom event, and purchase string validation to use a 255 character maximum instead of a 255 byte maximum.

##### Added
- The [`Braze.set(identifierForAdvertiser:)`](https://braze-inc.github.io/braze-swift-sdk/documentation/brazekit/braze/set(identifierforadvertiser:)) and [`Braze.set(identifierForVendor:)`](https://braze-inc.github.io/braze-swift-sdk/documentation/brazekit/braze/set(identifierforvendor:)) methods now accept a `nil` parameter value to remove the identifiers from the user profile.
- Adds additional safeguards to `Braze.Notifications.subscribeToUpdates` to ensure the same Push notification can't trigger the update closure multiple times.

## 10.2.0

##### Fixed
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.2.0/BrazeKit.zip",
checksum: "b3794c5750bc683416fe20b11537781f427e6e0b2e5fb16bb6d9282d1466b34e"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeKit.zip",
checksum: "6b40aaf369275f96639c6c3c7c17795e0609fcef29fb2ba38ade918485ad4ad5"
),
.binaryTarget(
name: "BrazeUI",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.2.0/BrazeUI.zip",
checksum: "96825c05b256c561771881f80800ef534e2e346d4e0ca7cc1e4d8b2a550d29a3"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeUI.zip",
checksum: "4184a24e1fc7230d5b78bf59e52bac6fc89d511c82789a57933b531bfc0ccb43"
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.2.0/BrazeLocation.zip",
checksum: "48d415f1ab0e0a812ff8eaab042fa0fa380c40d28cce39f0c3691d8adc768e14"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeLocation.zip",
checksum: "c0c5540cc9b29b40e827ccb803e71f755ad8e4c1c2318c880f123e6c852b5d1b"
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.2.0/BrazeNotificationService.zip",
checksum: "8731e60799843357c62616646df46607aeecf36305ee735f2376851e5bdbe1c2"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeNotificationService.zip",
checksum: "b3190ffcb232021b5dcecb9b0ce78c6e35e7ce188949cfbba349ff5b1a72e685"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.2.0/BrazePushStory.zip",
checksum: "dc026b8f881efa4d73da824fe188e72537edd2b8548d66487d13e65232a546ab"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazePushStory.zip",
checksum: "8e2b6c3efc01c682ea0ddad17f393af8d0a8531a6efd7f713ee63df9fdb5bc9e"
),
.binaryTarget(
name: "BrazeKitCompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.2.0/BrazeKitCompat.zip",
checksum: "fb7aec4a2b7d50dc692c73c521320920f82a3e01abc3e423b154d66c695663e7"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeKitCompat.zip",
checksum: "399a762fe0d838c73d9c965ed20563f49b573cd5ee020a003a4557bf35e265b7"
),
.binaryTarget(
name: "BrazeUICompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.2.0/BrazeUICompat.zip",
checksum: "52866af6f61066112a9d117e57a3df5768a4eb8859c009b41b9b55403c0ec961"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/10.3.0/BrazeUICompat.zip",
checksum: "6a992f1ed8d211a897ad62917fdddc94ce18df3869e871ad527cb6573a05afe3"
),
]
)
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.2.0/blue" alt="Version: 10.2.0">
<img src="https://badgen.net/badge/version/10.3.0/blue" alt="Version: 10.3.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 1c802b8

Please sign in to comment.