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 e42292d commit 1369b7b
Show file tree
Hide file tree
Showing 18 changed files with 113 additions and 44 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/releases/download/8.2.1/BrazeKit.zip',
:sha256 => '1d52ba84af1fd7fbe1d9c862ebb2935def87970ac6ea1cc1319a53bbd78aa982'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/8.3.0/BrazeKit.zip',
:sha256 => '61daa5a033374ab0237f409e510f9a6f89089f54f19d811e8d1767c422292343'
}

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.2.1'
s.version = '8.3.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.2.1' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '8.3.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.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/releases/download/8.2.1/BrazeLocation.zip',
:sha256 => '618e43cf8348ffbe44a25bb98d7dc298ba90aa5b8acf2b57300fcd22a844fe61'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/8.3.0/BrazeLocation.zip',
:sha256 => '044b08c43ce9b8fbf102c728fd85540185faa45e8100ca6b09487be14867bf9d'
}

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/releases/download/8.2.1/BrazeNotificationService.zip',
:sha256 => '82e93142a9e220fa8f3f1f5d2b143baf545afc62c3ae718fa680d6b6fe532210'
:http => 'https://github.com/braze-inc/braze-swift-sdk/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/releases/download/8.2.1/BrazePushStory.zip',
:sha256 => 'aa6e069e16f4ad764f401424e414f2e942b8d6686380454df75048c1fc7533ae'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/8.3.0/BrazePushStory.zip',
:sha256 => 'bf72b707da9a56e9f7edcb055dadd32d7b59179b5437eacd6fd446270e50a22a'
}

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
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.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'
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.2.1' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '8.3.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.2.1'
s.dependency 'BrazeKit', '8.3.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.2.1'
s.version = '8.3.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.2.1' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '8.3.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.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
12 changes: 12 additions & 0 deletions Examples/ObjC/Examples-Manual.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
F12A0D7DD1578FB848CEDC93 /* SDWebImage.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE6FAA10D6D23B01068CC18C /* SDWebImage.xcframework */; };
F278FE43E1164E5876B35C5C /* BrazeKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE1AFA11EB03A5B1BEA614A2 /* BrazeKit.xcframework */; };
F3E32D48F75B02DAAC743445 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C8D7F1FE2EE80796BE4B2B76 /* main.m */; };
F417EE06D05C355037E64C44 /* BrazePushStory.bundle in Resources */ = {isa = PBXBuildFile; fileRef = BE7CF3E9F05C416B3F94F7D6 /* BrazePushStory.bundle */; };
F4614BFB3B0846850399E6D3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AEF0FF04032299A31D37CDE4 /* Assets.xcassets */; };
FC8A419CB477428EFE88152F /* BrazeKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE1AFA11EB03A5B1BEA614A2 /* BrazeKit.xcframework */; };
FD12306795E4DAAE687EFFA4 /* Readme.m in Sources */ = {isa = PBXBuildFile; fileRef = 6275BCD0F7BFAE11D061D807 /* Readme.m */; };
Expand Down Expand Up @@ -248,6 +249,7 @@
AEF0FF04032299A31D37CDE4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
AF3B26949E7F5C7A9B6D103B /* CheckoutViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CheckoutViewController.m; sourceTree = "<group>"; };
B3E980097FAAA5F4F97E0FBF /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
BE7CF3E9F05C416B3F94F7D6 /* BrazePushStory.bundle */ = {isa = PBXFileReference; lastKnownFileType = wrapper.cfbundle; name = BrazePushStory.bundle; path = "braze-swift-sdk-prebuilt/bundle/BrazePushStory.bundle"; sourceTree = "<group>"; };
C248D54740025F7A153AA681 /* NotificationViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationViewController.swift; sourceTree = "<group>"; };
C341130BE4760BCF11B2EDE7 /* BRZGIFViewProvider+SDWebImage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "BRZGIFViewProvider+SDWebImage.h"; sourceTree = "<group>"; };
C7CD7AB410DAB0417F872BA8 /* ReadmeViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReadmeViewController.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -504,6 +506,7 @@
children = (
963312B05750D1D4DA77128F /* BrazeKit.bundle */,
EB8AF6AAFE01DAED72696307 /* BrazeLocation.bundle */,
BE7CF3E9F05C416B3F94F7D6 /* BrazePushStory.bundle */,
85365B9C180AB9BA57FBD249 /* BrazeUI.bundle */,
A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */,
);
Expand Down Expand Up @@ -782,6 +785,7 @@
buildConfigurationList = 1D13B0F7AC90CD3A0D077381 /* Build configuration list for PBXNativeTarget "PushNotificationsContentExtension" */;
buildPhases = (
1ED051A689FACC54B986EFF4 /* Sources */,
9835D559CAE0D0736EFE9A69 /* Resources */,
1C7CA24208B570478CA321D1 /* Frameworks */,
);
buildRules = (
Expand Down Expand Up @@ -909,6 +913,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
9835D559CAE0D0736EFE9A69 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F417EE06D05C355037E64C44 /* BrazePushStory.bundle in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
B251FAD98264E01A6A6401E6 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down
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.2.1/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/8.3.0/braze-swift-sdk-prebuilt.zip"

echo "" "Cleaning up"
rm -rf braze-swift-sdk-prebuilt
Expand Down
12 changes: 12 additions & 0 deletions Examples/Swift/Examples-Manual.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
F12A0D7DD1578FB848CEDC93 /* SDWebImage.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE6FAA10D6D23B01068CC18C /* SDWebImage.xcframework */; };
F205773604C16B2A873B11C9 /* Readme.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8336D4BB1A8E983EF334361 /* Readme.swift */; };
F278FE43E1164E5876B35C5C /* BrazeKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE1AFA11EB03A5B1BEA614A2 /* BrazeKit.xcframework */; };
F417EE06D05C355037E64C44 /* BrazePushStory.bundle in Resources */ = {isa = PBXBuildFile; fileRef = BE7CF3E9F05C416B3F94F7D6 /* BrazePushStory.bundle */; };
F4614BFB3B0846850399E6D3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AEF0FF04032299A31D37CDE4 /* Assets.xcassets */; };
F646B1FF70F027C387555FDF /* ReadmeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0617474A1F534AFBE702090C /* ReadmeViewController.swift */; };
F89CD2EB10DCB566C20D739C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4F7E5A96D302B8CA3D7FCE5 /* AppDelegate.swift */; };
Expand Down Expand Up @@ -236,6 +237,7 @@
AC9CF4A73393593A05187CAC /* FullWidthSlideupView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FullWidthSlideupView.swift; sourceTree = "<group>"; };
ADE8605DB3AE191A4546EFB8 /* Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = "<group>"; };
AEF0FF04032299A31D37CDE4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
BE7CF3E9F05C416B3F94F7D6 /* BrazePushStory.bundle */ = {isa = PBXFileReference; lastKnownFileType = wrapper.cfbundle; name = BrazePushStory.bundle; path = "braze-swift-sdk-prebuilt/bundle/BrazePushStory.bundle"; sourceTree = "<group>"; };
C1D163F4C981902AAE2C5031 /* Readme.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Readme.swift; sourceTree = "<group>"; };
C248D54740025F7A153AA681 /* NotificationViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationViewController.swift; sourceTree = "<group>"; };
C4F7E5A96D302B8CA3D7FCE5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -496,6 +498,7 @@
children = (
963312B05750D1D4DA77128F /* BrazeKit.bundle */,
EB8AF6AAFE01DAED72696307 /* BrazeLocation.bundle */,
BE7CF3E9F05C416B3F94F7D6 /* BrazePushStory.bundle */,
85365B9C180AB9BA57FBD249 /* BrazeUI.bundle */,
A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */,
);
Expand Down Expand Up @@ -776,6 +779,7 @@
buildConfigurationList = 1D13B0F7AC90CD3A0D077381 /* Build configuration list for PBXNativeTarget "PushNotificationsContentExtension" */;
buildPhases = (
1ED051A689FACC54B986EFF4 /* Sources */,
9835D559CAE0D0736EFE9A69 /* Resources */,
1C7CA24208B570478CA321D1 /* Frameworks */,
);
buildRules = (
Expand Down Expand Up @@ -903,6 +907,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
9835D559CAE0D0736EFE9A69 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F417EE06D05C355037E64C44 /* BrazePushStory.bundle in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
B251FAD98264E01A6A6401E6 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down
2 changes: 1 addition & 1 deletion Examples/Swift/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.2.1/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/8.3.0/braze-swift-sdk-prebuilt.zip"

echo "" "Cleaning up"
rm -rf braze-swift-sdk-prebuilt
Expand Down
24 changes: 15 additions & 9 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/releases/download/8.2.1/BrazeKit.zip",
checksum: "1d52ba84af1fd7fbe1d9c862ebb2935def87970ac6ea1cc1319a53bbd78aa982"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.3.0/BrazeKit.zip",
checksum: "61daa5a033374ab0237f409e510f9a6f89089f54f19d811e8d1767c422292343"
),
.target(
name: "BrazeKitResources",
Expand All @@ -67,8 +67,8 @@ let package = Package(
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.2.1/BrazeLocation.zip",
checksum: "618e43cf8348ffbe44a25bb98d7dc298ba90aa5b8acf2b57300fcd22a844fe61"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.3.0/BrazeLocation.zip",
checksum: "044b08c43ce9b8fbf102c728fd85540185faa45e8100ca6b09487be14867bf9d"
),
.target(
name: "BrazeLocationResources",
Expand All @@ -78,13 +78,19 @@ let package = Package(
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.2.1/BrazeNotificationService.zip",
checksum: "82e93142a9e220fa8f3f1f5d2b143baf545afc62c3ae718fa680d6b6fe532210"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.3.0/BrazeNotificationService.zip",
checksum: "035423f4f6684b679d854561760db12bb617f32f2596da3a29a55bfa531ffb6e"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.2.1/BrazePushStory.zip",
checksum: "aa6e069e16f4ad764f401424e414f2e942b8d6686380454df75048c1fc7533ae"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.3.0/BrazePushStory.zip",
checksum: "bf72b707da9a56e9f7edcb055dadd32d7b59179b5437eacd6fd446270e50a22a"
),
.target(
name: "BrazePushStoryResources",
resources: [
.process("Resources"),
]
),
.target(
name: "BrazeKitCompat",
Expand Down
Loading

0 comments on commit 1369b7b

Please sign in to comment.