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 d54bd06 commit 9c0577f
Show file tree
Hide file tree
Showing 25 changed files with 114 additions and 138 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/releases/download/10.2.0/BrazeKit.zip',
:sha256 => 'c0c593e68068edd1c8caa89ea4e18cdb6c0d52801c90c0b8a173dae3da757b9b'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/10.3.0/BrazeKit.zip',
:sha256 => '4913d8c1ad1115ec50c07858523c6ba9ab506f37a39a853a4a19c77b82d7f821'
}

s.swift_version = '5.0'
Expand Down
8 changes: 4 additions & 4 deletions BrazeKitCompat.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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'
s.documentation_url = 'https://braze-inc.github.io/braze-swift-sdk/documentation/brazekitcompat/'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '10.2.0' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '10.3.0' }

s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
Expand All @@ -18,8 +18,8 @@ Pod::Spec.new do |s|
s.public_header_files = 'Sources/BrazeKitCompat/include/*.h'
s.static_framework = true

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

s.swift_version = '5.0'
Expand All @@ -21,7 +21,7 @@ Pod::Spec.new do |s|
s.vendored_framework = 'BrazeLocation.xcframework'
s.resource_bundles = { 'BrazeLocation' => ['Sources/BrazeLocationResources/Resources/**/*'] }

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/releases/download/10.2.0/BrazeNotificationService.zip',
:sha256 => '3e8c00381f07545697f0a1f06198b7546800bc34bc0d0ea83ca3370b59de431d'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/10.3.0/BrazeNotificationService.zip',
:sha256 => '4dbd229689d1d77a289ebbc60b5e7e367e2f5b2b1aff9a3c6539bceb6c21a51f'
}

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

s.swift_version = '5.0'
Expand Down
6 changes: 3 additions & 3 deletions BrazeUI.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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'
s.documentation_url = 'https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '10.2.0' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '10.3.0' }

s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
Expand All @@ -18,7 +18,7 @@ Pod::Spec.new do |s|
s.resource_bundles = { 'BrazeUI' => ['Sources/BrazeUI/Resources/**/*'] }
s.static_framework = true

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 BrazeUICompat.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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'
s.documentation_url = 'https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '10.2.0' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '10.3.0' }

s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
Expand All @@ -18,7 +18,7 @@ Pod::Spec.new do |s|
s.resource_bundles = { 'BrazeUICompat' => 'Sources/BrazeUICompat/*/Resources/**/*.*' }
s.static_framework = true

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
6 changes: 3 additions & 3 deletions Examples/ObjC/Examples-SwiftPM.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@
mainGroup = D8CC2266D736859D7DD9A8FF;
packageReferences = (
9928D5150C45879A982BA1C6 /* XCRemoteSwiftPackageReference "SDWebImage" */,
2770133CE94890188F3AFE6E /* XCLocalSwiftPackageReference "/Users/jacksonmiller/Documents/swift-sdk/.build/braze/release/braze-swift-sdk" */,
6764A035A4A67CE751802C3E /* XCLocalSwiftPackageReference "/Users/louis.bur/Developer/swift-sdk/.build/braze/release/braze-swift-sdk" */,
);
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -2121,9 +2121,9 @@
/* End XCRemoteSwiftPackageReference section */

/* Begin XCLocalSwiftPackageReference section */
2770133CE94890188F3AFE6E /* XCLocalSwiftPackageReference "/Users/jacksonmiller/Documents/swift-sdk/.build/braze/release/braze-swift-sdk" */ = {
6764A035A4A67CE751802C3E /* XCLocalSwiftPackageReference "/Users/louis.bur/Developer/swift-sdk/.build/braze/release/braze-swift-sdk" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = "/Users/jacksonmiller/Documents/swift-sdk/.build/braze/release/braze-swift-sdk";
relativePath = "/Users/louis.bur/Developer/swift-sdk/.build/braze/release/braze-swift-sdk";
};
/* End XCLocalSwiftPackageReference section */

Expand Down
30 changes: 0 additions & 30 deletions Examples/ObjC/Sources/PushNotifications/Info.plist

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion Examples/ObjC/manual-integration-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ ! -f "manual-integration-setup.sh" ]; then
fi

# Constants
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/10.2.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/10.3.0/braze-swift-sdk-prebuilt.zip"

echo "" "Cleaning up"
rm -rf braze-swift-sdk-prebuilt
Expand Down
6 changes: 3 additions & 3 deletions Examples/Swift/Examples-SwiftPM.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@
mainGroup = D8CC2266D736859D7DD9A8FF;
packageReferences = (
9928D5150C45879A982BA1C6 /* XCRemoteSwiftPackageReference "SDWebImage" */,
2770133CE94890188F3AFE6E /* XCLocalSwiftPackageReference "/Users/jacksonmiller/Documents/swift-sdk/.build/braze/release/braze-swift-sdk" */,
6764A035A4A67CE751802C3E /* XCLocalSwiftPackageReference "/Users/louis.bur/Developer/swift-sdk/.build/braze/release/braze-swift-sdk" */,
);
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -2109,9 +2109,9 @@
/* End XCRemoteSwiftPackageReference section */

/* Begin XCLocalSwiftPackageReference section */
2770133CE94890188F3AFE6E /* XCLocalSwiftPackageReference "/Users/jacksonmiller/Documents/swift-sdk/.build/braze/release/braze-swift-sdk" */ = {
6764A035A4A67CE751802C3E /* XCLocalSwiftPackageReference "/Users/louis.bur/Developer/swift-sdk/.build/braze/release/braze-swift-sdk" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = "/Users/jacksonmiller/Documents/swift-sdk/.build/braze/release/braze-swift-sdk";
relativePath = "/Users/louis.bur/Developer/swift-sdk/.build/braze/release/braze-swift-sdk";
};
/* End XCLocalSwiftPackageReference section */

Expand Down
30 changes: 0 additions & 30 deletions Examples/Swift/Sources/PushNotifications/Info.plist

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion Examples/Swift/manual-integration-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ ! -f "manual-integration-setup.sh" ]; then
fi

# Constants
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/10.2.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/10.3.0/braze-swift-sdk-prebuilt.zip"

echo "" "Cleaning up"
rm -rf braze-swift-sdk-prebuilt
Expand Down
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "BrazeKit",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/10.2.0/BrazeKit.zip",
checksum: "c0c593e68068edd1c8caa89ea4e18cdb6c0d52801c90c0b8a173dae3da757b9b"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/10.3.0/BrazeKit.zip",
checksum: "4913d8c1ad1115ec50c07858523c6ba9ab506f37a39a853a4a19c77b82d7f821"
),
.target(
name: "BrazeKitResources",
Expand All @@ -67,8 +67,8 @@ let package = Package(
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/10.2.0/BrazeLocation.zip",
checksum: "8ef04d2945942890bb8c8ff507ccfd76b1a7748274c3f37191381ee0fca398ab"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/10.3.0/BrazeLocation.zip",
checksum: "a0e299ea114723f5ae9e124a94c59304b082b838be422a4ae823384a713f563c"
),
.target(
name: "BrazeLocationResources",
Expand All @@ -78,13 +78,13 @@ let package = Package(
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/10.2.0/BrazeNotificationService.zip",
checksum: "3e8c00381f07545697f0a1f06198b7546800bc34bc0d0ea83ca3370b59de431d"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/10.3.0/BrazeNotificationService.zip",
checksum: "4dbd229689d1d77a289ebbc60b5e7e367e2f5b2b1aff9a3c6539bceb6c21a51f"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/10.2.0/BrazePushStory.zip",
checksum: "adb1fa1d70a52275f1e0ab9551f69fa7188bd997c7407202b89829c4423bc99b"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/10.3.0/BrazePushStory.zip",
checksum: "1b0e1ecc6da91edb467dd0db3498fb09a89ddccf9ffbf5fc96479971499b5035"
),
.target(
name: "BrazePushStoryResources",
Expand Down
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
6 changes: 3 additions & 3 deletions Sources/BrazeUI/InAppMessageUI/InAppMessageExt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ extension Braze.InAppMessage.Orientation {
case (.any, _, _),
(_, .none, .none):
return true
case (.portrait, .compact, _),
(.portrait, .regular, .regular):
case (.portrait, _, .regular):
return true
case (.landscape, .regular, _):
case (.landscape, .regular, _),
(.landscape, .compact, .compact):
return true
default:
return false
Expand Down
Loading

0 comments on commit 9c0577f

Please sign in to comment.