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 ad0d44c commit 906ec6d
Show file tree
Hide file tree
Showing 12 changed files with 70 additions and 66 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-prebuilt-static/releases/download/8.4.0/BrazeKit.zip',
:sha256 => '9e518252657ed8f4c1bb45e1b00c82c216c93dfcdaa66df7d98247201599d3f2'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeKit.zip',
:sha256 => 'c5462a28cc12cb7a2ba9594fae13e72cbbaad3491e5e9ed788f43ed574c35dd7'
}

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 = '8.4.0'
s.version = '9.0.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-static/releases/download/8.4.0/BrazeKitCompat.zip',
:sha256 => '049a4853a4d581bc30497e198ae0b52370dd22ccc24e2320bb6705b3079bae83'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeKitCompat.zip',
:sha256 => '92c8746b96f3ef24278e55d6f9750d5e1d1dd4244f952c5d6166cd9173a11d01'
}

s.swift_version = '5.0'
Expand All @@ -19,8 +19,8 @@ Pod::Spec.new do |s|

s.vendored_framework = 'BrazeKitCompat.xcframework'

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-prebuilt-static/releases/download/8.4.0/BrazeLocation.zip',
:sha256 => '691c8f93588d0c13b2fe0210bde83d365bff9ed9282acf9f6489ea7c5096f269'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeLocation.zip',
:sha256 => 'eb3714b8f16d4b55458cabbfdc839ab2a43721a7602a71f57ee01b39dd4ce22c'
}

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-prebuilt-static/releases/download/8.4.0/BrazeNotificationService.zip',
:sha256 => '701cb2bfa0b470f0a73bdef28654bfd2580ceb39562aed7f645eccb99c3800b7'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/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-prebuilt-static/releases/download/8.4.0/BrazePushStory.zip',
:sha256 => '0fd2c0e20a0f11ee71536f8a42b242508390bb87ded4fe521f877e01d9339b52'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazePushStory.zip',
:sha256 => '078ee763970b21d0ffe445d396dbc6d18e030413690cf28eac0693d3105da981'
}

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 = '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'
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-static/releases/download/8.4.0/BrazeUI.zip',
:sha256 => '53d483ab057f6337806edb32e35373997cb366740a2d5c6d53418e2db8671b90'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeUI.zip',
:sha256 => '0e493d55e99156c9827f4456b914c30bcfdd01a99967d0c195490341a020a768'
}

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

s.dependency 'BrazeKit', '8.4.0'
s.dependency 'BrazeKit', '9.0.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 = '8.4.0'
s.version = '9.0.0'
s.summary = 'Compatibility UI library for users migrating from AppboyUI.'

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-static/releases/download/8.4.0/BrazeUICompat.zip',
:sha256 => 'ee4a34359b5e88e6ba0a9abde7fe62e88c44dee3a7f7165681c14d572d56476c'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeUICompat.zip',
:sha256 => '1e35cb29c177cdaab309610fbe84ac9d36a3ed82c9718115ac7900e13efc83bb'
}

s.swift_version = '5.0'
Expand All @@ -19,7 +19,7 @@ Pod::Spec.new do |s|
s.vendored_framework = 'BrazeUICompat.xcframework'
s.resource_bundles = { 'BrazeUICompat' => 'Sources/BrazeUICompatResources/*/Resources/**/*.*' }

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
28 changes: 14 additions & 14 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-prebuilt-static/releases/download/8.4.0/BrazeKit.zip",
checksum: "9e518252657ed8f4c1bb45e1b00c82c216c93dfcdaa66df7d98247201599d3f2"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeKit.zip",
checksum: "c5462a28cc12cb7a2ba9594fae13e72cbbaad3491e5e9ed788f43ed574c35dd7"
),
.target(
name: "BrazeKitResources",
Expand All @@ -60,8 +60,8 @@ let package = Package(
),
.binaryTarget(
name: "BrazeUI",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.4.0/BrazeUI.zip",
checksum: "53d483ab057f6337806edb32e35373997cb366740a2d5c6d53418e2db8671b90"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeUI.zip",
checksum: "0e493d55e99156c9827f4456b914c30bcfdd01a99967d0c195490341a020a768"
),
.target(
name: "BrazeUIResources",
Expand All @@ -71,8 +71,8 @@ let package = Package(
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.4.0/BrazeLocation.zip",
checksum: "691c8f93588d0c13b2fe0210bde83d365bff9ed9282acf9f6489ea7c5096f269"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeLocation.zip",
checksum: "eb3714b8f16d4b55458cabbfdc839ab2a43721a7602a71f57ee01b39dd4ce22c"
),
.target(
name: "BrazeLocationResources",
Expand All @@ -82,13 +82,13 @@ let package = Package(
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.4.0/BrazeNotificationService.zip",
checksum: "701cb2bfa0b470f0a73bdef28654bfd2580ceb39562aed7f645eccb99c3800b7"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeNotificationService.zip",
checksum: "3d8196a08e0f0099933c012c7a900c42339a5b1c97bcf0819a1f3d13c6eac6f5"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.4.0/BrazePushStory.zip",
checksum: "0fd2c0e20a0f11ee71536f8a42b242508390bb87ded4fe521f877e01d9339b52"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazePushStory.zip",
checksum: "078ee763970b21d0ffe445d396dbc6d18e030413690cf28eac0693d3105da981"
),
.target(
name: "BrazePushStoryResources",
Expand All @@ -98,13 +98,13 @@ let package = Package(
),
.binaryTarget(
name: "BrazeKitCompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.4.0/BrazeKitCompat.zip",
checksum: "049a4853a4d581bc30497e198ae0b52370dd22ccc24e2320bb6705b3079bae83"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeKitCompat.zip",
checksum: "92c8746b96f3ef24278e55d6f9750d5e1d1dd4244f952c5d6166cd9173a11d01"
),
.binaryTarget(
name: "BrazeUICompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.4.0/BrazeUICompat.zip",
checksum: "ee4a34359b5e88e6ba0a9abde7fe62e88c44dee3a7f7165681c14d572d56476c"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.0.0/BrazeUICompat.zip",
checksum: "1e35cb29c177cdaab309610fbe84ac9d36a3ed82c9718115ac7900e13efc83bb"
),
.target(
name: "BrazeUICompatResources",
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/8.4.0/blue" alt="Version: 8.4.0">
<img src="https://badgen.net/badge/version/9.0.0/blue" alt="Version: 9.0.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
13 changes: 1 addition & 12 deletions Sources/BrazeKitResources/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array>
<string>sdk-tracking.iad-01.braze.com</string>
<string>sdk-tracking.iad-02.braze.com</string>
<string>sdk-tracking.iad-03.braze.com</string>
<string>sdk-tracking.iad-04.braze.com</string>
<string>sdk-tracking.iad-05.braze.com</string>
<string>sdk-tracking.iad-06.braze.com</string>
<string>sdk-tracking.iad-07.braze.com</string>
<string>sdk-tracking.iad-08.braze.com</string>
<string>sdk-tracking.fra-01.braze.eu</string>
<string>sdk-tracking.fra-02.braze.eu</string>
</array>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
Expand Down
28 changes: 15 additions & 13 deletions Sources/BrazePushStoryResources/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>

0 comments on commit 906ec6d

Please sign in to comment.