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 ce729b1 commit d58385f
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-dynamic/releases/download/10.2.0/BrazeKit.zip',
:sha256 => '0e1349fa1343baccabb16a74e204c334e41916a3688e222788c1b3a72c5605c4'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeKit.zip',
:sha256 => 'fa594cb8bb16c72e59bc5c3088a24cda466048e8877dafbb2980efdc83d6eabe'
}

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-dynamic/releases/download/10.2.0/BrazeKitCompat.zip',
:sha256 => 'f65d29310f26d47e741fe6debe88401fc2cefcbc5e385eb8c19e059feb603a75'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeKitCompat.zip',
:sha256 => 'e702e82cbc4c1fa75bd605ea9e653d7716f09849fe68ad2abf91cf261d56e21e'
}

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-dynamic/releases/download/10.2.0/BrazeLocation.zip',
:sha256 => '8e2202a28b72131bee8ec22720a592686656ceb9ad36832f0d9a0525d2f8d5e2'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeLocation.zip',
:sha256 => '7fc2d27374db08ab0d2af5b830e5cb497827fac39ac7ec16643cc784c1557b9d'
}

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-dynamic/releases/download/10.2.0/BrazeNotificationService.zip',
:sha256 => '0ddde66c6b48c1c7d611ad0fa2770192e7b320e01109cacd62f285362ec49fdd'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeNotificationService.zip',
:sha256 => 'fa98eb5797175c800c5f17642ef6e92f4b726ff6f3d6f9ecaf9be5e088eb2be2'
}

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-dynamic/releases/download/10.2.0/BrazePushStory.zip',
:sha256 => 'febe60b212676a57ace5840c66b3059fe5fe2e623079059a2f81f912fbd015eb'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazePushStory.zip',
:sha256 => 'ab8d54db73590a1c2b380bdcd993d5154b011643a7c7a7fe83bb7c39bb6bad39'
}

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-dynamic/releases/download/10.2.0/BrazeUI.zip',
:sha256 => 'a61445f8de8bdf5963736c680e3f6c2eddd3443b1ffca7a0949041018daad8b2'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeUI.zip',
:sha256 => 'a2792206b767d7f3311ebc88810f12acc8770b377474f2123b56ab5f8ff2795d'
}

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-dynamic/releases/download/10.2.0/BrazeUICompat.zip',
:sha256 => '5d2d0e3ae0de6707f0309fbd87a73600f3081aa1109663c259e6e85cbef1026d'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeUICompat.zip',
:sha256 => 'd3d3cea21c944cd01557e1f33f13a718f8f9bfa633e867028f9ac89e46ed5765'
}

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-dynamic/releases/download/10.2.0/BrazeKit.zip",
checksum: "0e1349fa1343baccabb16a74e204c334e41916a3688e222788c1b3a72c5605c4"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeKit.zip",
checksum: "fa594cb8bb16c72e59bc5c3088a24cda466048e8877dafbb2980efdc83d6eabe"
),
.binaryTarget(
name: "BrazeUI",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.2.0/BrazeUI.zip",
checksum: "a61445f8de8bdf5963736c680e3f6c2eddd3443b1ffca7a0949041018daad8b2"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeUI.zip",
checksum: "a2792206b767d7f3311ebc88810f12acc8770b377474f2123b56ab5f8ff2795d"
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.2.0/BrazeLocation.zip",
checksum: "8e2202a28b72131bee8ec22720a592686656ceb9ad36832f0d9a0525d2f8d5e2"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeLocation.zip",
checksum: "7fc2d27374db08ab0d2af5b830e5cb497827fac39ac7ec16643cc784c1557b9d"
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.2.0/BrazeNotificationService.zip",
checksum: "0ddde66c6b48c1c7d611ad0fa2770192e7b320e01109cacd62f285362ec49fdd"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeNotificationService.zip",
checksum: "fa98eb5797175c800c5f17642ef6e92f4b726ff6f3d6f9ecaf9be5e088eb2be2"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.2.0/BrazePushStory.zip",
checksum: "febe60b212676a57ace5840c66b3059fe5fe2e623079059a2f81f912fbd015eb"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazePushStory.zip",
checksum: "ab8d54db73590a1c2b380bdcd993d5154b011643a7c7a7fe83bb7c39bb6bad39"
),
.binaryTarget(
name: "BrazeKitCompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.2.0/BrazeKitCompat.zip",
checksum: "f65d29310f26d47e741fe6debe88401fc2cefcbc5e385eb8c19e059feb603a75"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeKitCompat.zip",
checksum: "e702e82cbc4c1fa75bd605ea9e653d7716f09849fe68ad2abf91cf261d56e21e"
),
.binaryTarget(
name: "BrazeUICompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.2.0/BrazeUICompat.zip",
checksum: "5d2d0e3ae0de6707f0309fbd87a73600f3081aa1109663c259e6e85cbef1026d"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.0/BrazeUICompat.zip",
checksum: "d3d3cea21c944cd01557e1f33f13a718f8f9bfa633e867028f9ac89e46ed5765"
),
]
)
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 d58385f

Please sign in to comment.