Skip to content

Commit

Permalink
Version 9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hokstuff committed Apr 25, 2024
1 parent f893978 commit 22a9c2d
Show file tree
Hide file tree
Showing 20 changed files with 179 additions and 91 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 = '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'
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/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'
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 = '8.4.0'
s.version = '9.0.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 => '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'
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', '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
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 = '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'
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/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'
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', '8.4.0'
s.dependency 'BrazeKit', '9.0.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 = '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'
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/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'
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 = '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'
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/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'
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 = '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'
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 => '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'
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', '8.4.0'
s.dependency 'BrazeKit', '9.0.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 = '8.4.0'
s.version = '9.0.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 => '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'
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', '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' }
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
32 changes: 16 additions & 16 deletions Examples/ObjC/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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

Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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

Expand All @@ -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
Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -168,7 +168,7 @@ target 'PushNotificationsServiceExtension-visionOS' do
end

target 'PushNotificationsContentExtension-iOS' do
platform :ios, '11.0'
platform :ios, '12.0'
pod 'BrazePushStory'
end

Expand Down
30 changes: 30 additions & 0 deletions Examples/ObjC/Sources/PushNotifications/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>PushNotifications</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>UIBackgroundModes</key>
<array>
<string>remote-notification</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.braze.PushNotifications.PushStories</string>
</array>
</dict>
</plist>
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/8.4.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/9.0.0/braze-swift-sdk-prebuilt.zip"

echo "" "Cleaning up"
rm -rf braze-swift-sdk-prebuilt
Expand Down
Loading

0 comments on commit 22a9c2d

Please sign in to comment.