Skip to content

Commit

Permalink
Version 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lowip committed Feb 12, 2024
1 parent b1f87ac commit 6f38c89
Show file tree
Hide file tree
Showing 10 changed files with 77 additions and 59 deletions.
13 changes: 7 additions & 6 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 = '7.7.0'
s.version = '8.0.0'
s.summary = 'Braze Main SDK library providing support for analytics and push notifications.'

s.homepage = 'https://braze.com'
Expand All @@ -9,13 +9,14 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeKit.zip',
:sha256 => '96f8c62e2c1adc10546e9ce00baf531b4972a9b86a136354f54eb144bf7c48d6'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeKit.zip',
:sha256 => '7e5d3ed52aa476de5ddb2bc5f9d92cbc3029544156f9d01d6106330efba4d8f2'
}

s.swift_version = '5.0'
s.ios.deployment_target = '11.0'
s.tvos.deployment_target = '11.0'
s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'
s.visionos.deployment_target = '1.0'

s.vendored_framework = 'BrazeKit.xcframework'

Expand Down
14 changes: 7 additions & 7 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 = '7.7.0'
s.version = '8.0.0'
s.summary = 'Compatibility library for users migrating from AppboyKit.'

s.homepage = 'https://braze.com'
Expand All @@ -9,18 +9,18 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeKitCompat.zip',
:sha256 => 'f48b669701fc1b0a2370a0968686f4c70826b9ebb8fe9b15311130ad99dc3858'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeKitCompat.zip',
:sha256 => '024f11388721d70a5b4fff92bcff1fc0cc8b61a88c7b0e9971c2d0c2f14b6e10'
}

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

s.vendored_framework = 'BrazeKitCompat.xcframework'

s.dependency 'BrazeKit', '7.7.0'
s.dependency 'BrazeLocation', '7.7.0'
s.dependency 'BrazeKit', '8.0.0'
s.dependency 'BrazeLocation', '8.0.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
15 changes: 8 additions & 7 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 = '7.7.0'
s.version = '8.0.0'
s.summary = 'Braze location library providing support for location analytics and geofence monitoring.'

s.homepage = 'https://braze.com'
Expand All @@ -9,17 +9,18 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeLocation.zip',
:sha256 => '3f44466b840e904f652dbd5b3f9320586e8a678593e33d8843ad6538155eb92b'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeLocation.zip',
:sha256 => 'a4906997e72bd22240b62050f4a2fb281fe5c0107efa5bdc88190861c266e6ab'
}

s.swift_version = '5.0'
s.ios.deployment_target = '11.0'
s.tvos.deployment_target = '11.0'
s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'
s.visionos.deployment_target = '1.0'

s.vendored_framework = 'BrazeLocation.xcframework'

s.dependency 'BrazeKit', '7.7.0'
s.dependency 'BrazeKit', '8.0.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
11 changes: 6 additions & 5 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 = '7.7.0'
s.version = '8.0.0'
s.summary = 'Braze notification service extension library providing support for Rich Push notifications.'

s.homepage = 'https://braze.com'
Expand All @@ -9,12 +9,13 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeNotificationService.zip',
:sha256 => '2a04d760e7752c9cf79b70d27ad0dd1cbb744b8d24e6576d06510a639fa987a1'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeNotificationService.zip',
:sha256 => 'cf8f7b80ef5d76b37bab20d3b81e63905e18488be3b7270c561f3ef2285108e8'
}

s.swift_version = '5.0'
s.ios.deployment_target = '11.0'
s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
s.visionos.deployment_target = '1.0'

s.vendored_framework = 'BrazeNotificationService.xcframework'

Expand Down
11 changes: 6 additions & 5 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 = '7.7.0'
s.version = '8.0.0'
s.summary = 'Braze notification content extension library providing support for Push Stories.'

s.homepage = 'https://braze.com'
Expand All @@ -9,12 +9,13 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazePushStory.zip',
:sha256 => '00b1e3d4128197757fc94a68e14025595e2d0c1eeaaf6606f9e36543548533f7'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazePushStory.zip',
:sha256 => '9e4dfbb980252debe82e180ae2ef05fe29f11f675ba780aa40b8f0ab086ebd0e'
}

s.swift_version = '5.0'
s.ios.deployment_target = '11.0'
s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
s.visionos.deployment_target = '1.0'

s.vendored_framework = 'BrazePushStory.xcframework'

Expand Down
13 changes: 7 additions & 6 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 = '7.7.0'
s.version = '8.0.0'
s.summary = 'Braze-provided user interface library for In-App Messages and Content Cards.'

s.homepage = 'https://braze.com'
Expand All @@ -9,16 +9,17 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeUI.zip',
:sha256 => 'db97a5c56320f197f14704cf47cc19623fa89c1da47c8f7c33db073e218dee5e'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeUI.zip',
:sha256 => '88bb7629b10af3cc96aa7faadf6551f24df2a01a353292167e80323b5be9c045'
}

s.swift_version = '5.0'
s.ios.deployment_target = '11.0'
s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
s.visionos.deployment_target = '1.0'

s.vendored_framework = 'BrazeUI.xcframework'

s.dependency 'BrazeKit', '7.7.0'
s.dependency 'BrazeKit', '8.0.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
10 changes: 5 additions & 5 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 = '7.7.0'
s.version = '8.0.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/7.7.0/BrazeUICompat.zip',
:sha256 => '0681f8ff527add0b3b20e78d8122c39d511e616070eb822dc30f909528081bb6'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeUICompat.zip',
:sha256 => '6560fa72fde967eea66870993e676a62297d6198d43ca7a4beb4383751cadd41'
}

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

s.vendored_framework = 'BrazeUICompat.xcframework'

s.dependency 'BrazeKitCompat', '7.7.0'
s.dependency 'BrazeKitCompat', '8.0.0'
s.dependency 'SDWebImage', '>= 5.18.7', '< 6'

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

##### Breaking
- Compiles the SDK using Xcode version 15.2 (15C500b).
- This also raises the minimum deployment targets to iOS 12.0 and tvOS 12.0.
- The `BrazeLocation` class is now marked as unavailable. It was previously deprecated in favor of `BrazeLocationProvider` in 5.8.1.

##### Added
- Adds support for visionOS 1.0.
- ⚠️ Rich push notifications and Push Stories may not display as expected on visionOS 1.0. We are monitoring the latest versions for potential fixes.
- ⚠️ CocoaPods is not yet supported by SDWebImage for visionOS. visionOS sample apps requiring SDWebImage have been disabled in the `Examples-CocoaPods.xcworkspace`. Refer to the SwiftPM or manual integration Xcode project instead.

## 7.7.0

##### Added
Expand Down
35 changes: 18 additions & 17 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
// swift-tools-version:5.7
// swift-tools-version:5.9

import PackageDescription

let package = Package(
name: "braze-swift-sdk",
defaultLocalization: "en",
platforms: [
.iOS(.v11),
.iOS(.v12),
.macCatalyst(.v13),
.tvOS(.v11)
.tvOS(.v12),
.visionOS(.v1)
],
products: [
.library(
Expand Down Expand Up @@ -48,38 +49,38 @@ let package = Package(
targets: [
.binaryTarget(
name: "BrazeKit",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeKit.zip",
checksum: "96f8c62e2c1adc10546e9ce00baf531b4972a9b86a136354f54eb144bf7c48d6"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeKit.zip",
checksum: "7e5d3ed52aa476de5ddb2bc5f9d92cbc3029544156f9d01d6106330efba4d8f2"
),
.binaryTarget(
name: "BrazeUI",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeUI.zip",
checksum: "db97a5c56320f197f14704cf47cc19623fa89c1da47c8f7c33db073e218dee5e"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeUI.zip",
checksum: "88bb7629b10af3cc96aa7faadf6551f24df2a01a353292167e80323b5be9c045"
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeLocation.zip",
checksum: "3f44466b840e904f652dbd5b3f9320586e8a678593e33d8843ad6538155eb92b"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeLocation.zip",
checksum: "a4906997e72bd22240b62050f4a2fb281fe5c0107efa5bdc88190861c266e6ab"
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeNotificationService.zip",
checksum: "2a04d760e7752c9cf79b70d27ad0dd1cbb744b8d24e6576d06510a639fa987a1"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeNotificationService.zip",
checksum: "cf8f7b80ef5d76b37bab20d3b81e63905e18488be3b7270c561f3ef2285108e8"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazePushStory.zip",
checksum: "00b1e3d4128197757fc94a68e14025595e2d0c1eeaaf6606f9e36543548533f7"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazePushStory.zip",
checksum: "9e4dfbb980252debe82e180ae2ef05fe29f11f675ba780aa40b8f0ab086ebd0e"
),
.binaryTarget(
name: "BrazeKitCompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeKitCompat.zip",
checksum: "f48b669701fc1b0a2370a0968686f4c70826b9ebb8fe9b15311130ad99dc3858"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeKitCompat.zip",
checksum: "024f11388721d70a5b4fff92bcff1fc0cc8b61a88c7b0e9971c2d0c2f14b6e10"
),
.binaryTarget(
name: "BrazeUICompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/7.7.0/BrazeUICompat.zip",
checksum: "0681f8ff527add0b3b20e78d8122c39d511e616070eb822dc30f909528081bb6"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/8.0.0/BrazeUICompat.zip",
checksum: "6560fa72fde967eea66870993e676a62297d6198d43ca7a4beb4383751cadd41"
),
]
)
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/7.7.0/blue" alt="Version: 7.7.0">
<img src="https://badgen.net/badge/version/8.0.0/blue" alt="Version: 8.0.0">
</a>
<a href="#">
<img src="https://badgen.net/badge/platforms/iOS%20%7C%20tvOS%20%7C%20Mac%20Catalyst/orange"
Expand Down

0 comments on commit 6f38c89

Please sign in to comment.