diff --git a/BrazeKit.podspec b/BrazeKit.podspec
index b2efca0a23..71e145b899 100644
--- a/BrazeKit.podspec
+++ b/BrazeKit.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeKit'
- s.version = '8.4.0'
+ s.version = '9.0.0'
s.summary = 'Braze Main SDK library providing support for analytics and push notifications.'
s.homepage = 'https://braze.com'
@@ -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/8.4.0/BrazeKit.zip',
- :sha256 => '9a12014fbd90fdafe33bab80924ddac6032b1018156ad8191f9625a5dd63755d'
+ :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/9.0.0/BrazeKit.zip',
+ :sha256 => 'e7e7111caa48a88ba38c3f3e19ec15ee233113da5e20b28eb94681f90bc932cb'
}
s.swift_version = '5.0'
diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec
index 4ac29c947c..00d038c62b 100644
--- a/BrazeKitCompat.podspec
+++ b/BrazeKitCompat.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeKitCompat'
- s.version = '8.4.0'
+ s.version = '9.0.0'
s.summary = 'Compatibility library for users migrating from AppboyKit.'
s.homepage = 'https://braze.com'
@@ -8,7 +8,7 @@ Pod::Spec.new do |s|
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'
- s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '8.4.0' }
+ s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '9.0.0' }
s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
@@ -18,8 +18,8 @@ Pod::Spec.new do |s|
s.public_header_files = 'Sources/BrazeKitCompat/include/*.h'
s.static_framework = true
- s.dependency 'BrazeKit', '8.4.0'
- s.dependency 'BrazeLocation', '8.4.0'
+ s.dependency 'BrazeKit', '9.0.0'
+ s.dependency 'BrazeLocation', '9.0.0'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
diff --git a/BrazeLocation.podspec b/BrazeLocation.podspec
index 04a7a474e1..914be77675 100644
--- a/BrazeLocation.podspec
+++ b/BrazeLocation.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeLocation'
- s.version = '8.4.0'
+ s.version = '9.0.0'
s.summary = 'Braze location library providing support for location analytics and geofence monitoring.'
s.homepage = 'https://braze.com'
@@ -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/8.4.0/BrazeLocation.zip',
- :sha256 => '6f1b0c929198d20748437651c7c1357d4e65c1492b110b7432b95e97b32a89d4'
+ :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/9.0.0/BrazeLocation.zip',
+ :sha256 => 'e1c62899538484427be241ed42e29d88a0314d0ce12c73f67edaa5cf41953a43'
}
s.swift_version = '5.0'
@@ -21,7 +21,7 @@ Pod::Spec.new do |s|
s.vendored_framework = 'BrazeLocation.xcframework'
s.resource_bundles = { 'BrazeLocation' => ['Sources/BrazeLocationResources/Resources/**/*'] }
- s.dependency 'BrazeKit', '8.4.0'
+ s.dependency 'BrazeKit', '9.0.0'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
diff --git a/BrazeNotificationService.podspec b/BrazeNotificationService.podspec
index d4b99732bf..1825fb5c20 100644
--- a/BrazeNotificationService.podspec
+++ b/BrazeNotificationService.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeNotificationService'
- s.version = '8.4.0'
+ s.version = '9.0.0'
s.summary = 'Braze notification service extension library providing support for Rich Push notifications.'
s.homepage = 'https://braze.com'
@@ -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/8.4.0/BrazeNotificationService.zip',
- :sha256 => '701cb2bfa0b470f0a73bdef28654bfd2580ceb39562aed7f645eccb99c3800b7'
+ :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/9.0.0/BrazeNotificationService.zip',
+ :sha256 => '3d8196a08e0f0099933c012c7a900c42339a5b1c97bcf0819a1f3d13c6eac6f5'
}
s.swift_version = '5.0'
diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec
index c22692e2be..b20feb46cf 100644
--- a/BrazePushStory.podspec
+++ b/BrazePushStory.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazePushStory'
- s.version = '8.4.0'
+ s.version = '9.0.0'
s.summary = 'Braze notification content extension library providing support for Push Stories.'
s.homepage = 'https://braze.com'
@@ -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/8.4.0/BrazePushStory.zip',
- :sha256 => '5f1cf81215a04da786898a904efafb81b7efef91afe852665e6a85f0c812349a'
+ :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/9.0.0/BrazePushStory.zip',
+ :sha256 => '453d4c24425a19ebc6f220b030faa154f65e5678e796e8a0608b2883d7806d4f'
}
s.swift_version = '5.0'
diff --git a/BrazeUI.podspec b/BrazeUI.podspec
index d514ce96f1..03d76c542d 100644
--- a/BrazeUI.podspec
+++ b/BrazeUI.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeUI'
- s.version = '8.4.0'
+ s.version = '9.0.0'
s.summary = 'Braze-provided user interface library for In-App Messages and Content Cards.'
s.homepage = 'https://braze.com'
@@ -8,7 +8,7 @@ Pod::Spec.new do |s|
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'
- s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '8.4.0' }
+ s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '9.0.0' }
s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
s.resource_bundles = { 'BrazeUI' => ['Sources/BrazeUI/Resources/**/*'] }
s.static_framework = true
- s.dependency 'BrazeKit', '8.4.0'
+ s.dependency 'BrazeKit', '9.0.0'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
diff --git a/BrazeUICompat.podspec b/BrazeUICompat.podspec
index d8ef20e7ab..576a9f87b2 100644
--- a/BrazeUICompat.podspec
+++ b/BrazeUICompat.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeUICompat'
- s.version = '8.4.0'
+ s.version = '9.0.0'
s.summary = 'Compatibility UI library for users migrating from AppboyUI.'
s.homepage = 'https://braze.com'
@@ -8,7 +8,7 @@ Pod::Spec.new do |s|
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'
- s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '8.4.0' }
+ s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '9.0.0' }
s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
s.resource_bundles = { 'BrazeUICompat' => 'Sources/BrazeUICompat/*/Resources/**/*.*' }
s.static_framework = true
- s.dependency 'BrazeKitCompat', '8.4.0'
+ s.dependency 'BrazeKitCompat', '9.0.0'
s.dependency 'SDWebImage', '>= 5.19.0', '< 6'
s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 58aabe1356..7c52a10e85 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,16 @@
+## 9.0.0
+
+##### Breaking
+- Removes the default privacy tracking domains from the `BrazeKit` privacy manifest.
+ - If you are using the Braze [data tracking features](https://www.braze.com/docs/developer_guide/platform_integration_guides/swift/privacy_manifest/), you will need to manually add your tracking endpoint to your app-level privacy manifest.
+ - Refer to the updated [tutorial](https://braze-inc.github.io/braze-swift-sdk/tutorials/braze/e1-privacy-tracking) for integration guidance.
+- Removes the deprecated `BrazeDelegate.braze(_:sdkAuthenticationFailedWithError)` method in favor of `BrazeSDKAuthDelegate.braze(_:sdkAuthenticationFailedWithError)`.
+ - This method was originally deprecated in [release `5.14.0`](https://github.com/braze-inc/braze-swift-sdk/releases/tag/5.14.0).
+ - Failing to switch to the new delegate method will not trigger a compiler error; instead, the `BrazeDelegate.braze(_:sdkAuthenticationFailedWithError)` method you define will simply not be called.
+
+##### Fixed
+- Adds the missing `NSPrivacyCollectedDataTypes` key to the `BrazePushStory` privacy manifest.
+
## 8.4.0
##### Added
diff --git a/Examples/ObjC/Podfile b/Examples/ObjC/Podfile
index cd9f88bb0e..ae1658a940 100644
--- a/Examples/ObjC/Podfile
+++ b/Examples/ObjC/Podfile
@@ -3,12 +3,12 @@ source 'https://cdn.cocoapods.org/'
project 'Examples-CocoaPods'
target 'Analytics-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeKit'
end
target 'Analytics-tvOS' do
- platform :tvos, '11.0'
+ platform :tvos, '12.0'
pod 'BrazeKit'
end
@@ -18,7 +18,7 @@ target 'Analytics-visionOS' do
end
target 'InAppMessageUI-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeKit'
pod 'BrazeUI'
# SDWebImage is optional. BrazeUI requires a third party library to display GIF images.
@@ -36,7 +36,7 @@ target 'InAppMessageUI-visionOS' do
end
target 'InAppMessageUI-Customization-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeKit'
pod 'BrazeUI'
# SDWebImage is optional. BrazeUI requires a third party library to display GIF images.
@@ -54,12 +54,12 @@ target 'InAppMessageUI-Customization-visionOS' do
end
target 'InAppMessages-Custom-UI-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeKit'
end
target 'InAppMessages-Custom-UI-tvOS' do
- platform :tvos, '11.0'
+ platform :tvos, '12.0'
pod 'BrazeKit'
end
@@ -69,7 +69,7 @@ target 'InAppMessages-Custom-UI-visionOS' do
end
target 'ContentCardUI-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeKit'
pod 'BrazeUI'
# SDWebImage is optional. BrazeUI requires a third party library to display GIF images.
@@ -87,7 +87,7 @@ target 'ContentCardUI-visionOS' do
end
target 'ContentCardUI-Customization-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeKit'
pod 'BrazeUI'
# SDWebImage is optional. BrazeUI requires a third party library to display GIF images.
@@ -105,12 +105,12 @@ target 'ContentCardUI-Customization-visionOS' do
end
target 'ContentCards-Custom-UI-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeKit'
end
target 'ContentCards-Custom-UI-tvOS' do
- platform :tvos, '11.0'
+ platform :tvos, '12.0'
pod 'BrazeKit'
end
@@ -120,13 +120,13 @@ target 'ContentCards-Custom-UI-visionOS' do
end
target 'Location-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeKit'
pod 'BrazeLocation'
end
target 'Location-tvOS' do
- platform :tvos, '11.0'
+ platform :tvos, '12.0'
pod 'BrazeKit'
pod 'BrazeLocation'
end
@@ -138,7 +138,7 @@ target 'Location-visionOS' do
end
target 'PushNotifications-Manual-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeKit'
end
@@ -148,7 +148,7 @@ target 'PushNotifications-Manual-visionOS' do
end
target 'PushNotifications-Automatic-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeKit'
end
@@ -158,7 +158,7 @@ target 'PushNotifications-Automatic-visionOS' do
end
target 'PushNotificationsServiceExtension-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazeNotificationService'
end
@@ -168,7 +168,7 @@ target 'PushNotificationsServiceExtension-visionOS' do
end
target 'PushNotificationsContentExtension-iOS' do
- platform :ios, '11.0'
+ platform :ios, '12.0'
pod 'BrazePushStory'
end
diff --git a/Examples/ObjC/Sources/PushNotifications/Info.plist b/Examples/ObjC/Sources/PushNotifications/Info.plist
new file mode 100644
index 0000000000..d7f8ec8ca2
--- /dev/null
+++ b/Examples/ObjC/Sources/PushNotifications/Info.plist
@@ -0,0 +1,30 @@
+
+
+
-
+
NSPrivacyTracking