Skip to content

Commit

Permalink
Version 6.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jerielng committed Jun 12, 2023
1 parent 272b79f commit fad25aa
Show file tree
Hide file tree
Showing 45 changed files with 199 additions and 111 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 = '6.2.0'
s.version = '6.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/6.2.0/BrazeKit.zip',
:sha256 => 'c04c6e7b47f7911223d37bad568deb7caefee53c49062c2620b96cb5a75e67dc'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/6.3.0/BrazeKit.zip',
:sha256 => 'fec64ff96daf3d2df758e44d514a26b1276778c62ec9af8646b2d23d21ebffb9'
}

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 = '6.2.0'
s.version = '6.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 => '6.2.0' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '6.3.0' }

s.swift_version = '5.0'
s.ios.deployment_target = '11.0'
Expand All @@ -18,8 +18,8 @@ Pod::Spec.new do |s|
s.source_files = 'Sources/BrazeKitCompat/**/*.{h,m}'
s.public_header_files = 'Sources/BrazeKitCompat/include/*.h'

s.dependency 'BrazeKit', '6.2.0'
s.dependency 'BrazeLocation', '6.2.0'
s.dependency 'BrazeKit', '6.3.0'
s.dependency 'BrazeLocation', '6.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 = '6.2.0'
s.version = '6.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/6.2.0/BrazeLocation.zip',
:sha256 => '5568e6363155a2b836622405bba12c78c76184fb5e5ddd9153e84e703ac9f743'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/6.3.0/BrazeLocation.zip',
:sha256 => '1b0d46815129130c52633536a94f59fb56571a9507ff6bb87149d9e0c06eaabe'
}

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

# Depends on BrazeKit because BrazeKit includes the internal _BrazeLocationClient symbols required
# for linking against BrazeLocation.
s.dependency 'BrazeKit', '6.2.0'
s.dependency 'BrazeKit', '6.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 = '6.2.0'
s.version = '6.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/6.2.0/BrazeNotificationService.zip',
:sha256 => '5a3d743c8cc7bab42e2e20f25ccea20d37f6f1fe540cad9c4de7d2bf59698d41'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/6.3.0/BrazeNotificationService.zip',
:sha256 => '940388c443748821a15b86b4365b34daff4b03984fa1f4c957aac55b76eb63d6'
}

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 = '6.2.0'
s.version = '6.3.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/6.2.0/BrazePushStory.zip',
:sha256 => 'acda427a3d6995f9e64c3bb03b42a48eeef26e7d67279808736e1d7ef27bb8c5'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/6.3.0/BrazePushStory.zip',
:sha256 => '9631dd249e1c6b9775ec3f7a4f8c6dffd20b59c47c9ea52b9b885637fa2305fe'
}

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 = '6.2.0'
s.version = '6.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 => '6.2.0' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '6.3.0' }

s.swift_version = '5.0'
s.ios.deployment_target = '11.0'
Expand All @@ -17,7 +17,7 @@ Pod::Spec.new do |s|
s.source_files = 'Sources/BrazeUI/**/*.swift'
s.resource_bundles = { 'BrazeUI' => ['Sources/BrazeUI/Resources/**/*'] }

s.dependency 'BrazeKit', '6.2.0'
s.dependency 'BrazeKit', '6.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 = '6.2.0'
s.version = '6.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 => '6.2.0' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '6.3.0' }

s.swift_version = '5.0'
s.ios.deployment_target = '11.0'
Expand All @@ -18,7 +18,7 @@ Pod::Spec.new do |s|
s.public_header_files = 'Sources/BrazeUICompat/ABK*/**/*.h'
s.resource_bundles = { 'BrazeUICompat' => 'Sources/BrazeUICompat/*/Resources/**/*.*' }

s.dependency 'BrazeKitCompat', '6.2.0'
s.dependency 'BrazeKitCompat', '6.3.0'
s.dependency 'SDWebImage', '>= 5.8.2', '< 6'

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

##### Fixed
- "Confirm" and "Cancel" notification categories now show the correct titles on the action buttons.

##### Added
- Adds a new `SDKMetadata` option `.reactnativenewarch` for the React Native New Architecture.
- Adds public initializers for [`Braze.URLContext`][url-context] and [`Braze.ModalContext`][modal-context].

[url-context]: https://braze-inc.github.io/braze-swift-sdk/documentation/brazekit/braze/urlcontext/
[modal-context]: https://braze-inc.github.io/braze-swift-sdk/documentation/brazekit/braze/modalcontext/

## 6.2.0

##### Fixed
Expand Down
30 changes: 30 additions & 0 deletions Examples/ObjC/Sources/PushNotifications-Manual/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-Manual</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>
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/6.2.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/6.3.0/braze-swift-sdk-prebuilt.zip"

echo "" "Cleaning up"
rm -rf braze-swift-sdk-prebuilt
Expand Down
30 changes: 30 additions & 0 deletions Examples/Swift/Sources/PushNotifications-Manual/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-Manual</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/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/6.2.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/6.3.0/braze-swift-sdk-prebuilt.zip"

echo "" "Cleaning up"
rm -rf braze-swift-sdk-prebuilt
Expand Down
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "BrazeKit",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.2.0/BrazeKit.zip",
checksum: "c04c6e7b47f7911223d37bad568deb7caefee53c49062c2620b96cb5a75e67dc"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.3.0/BrazeKit.zip",
checksum: "fec64ff96daf3d2df758e44d514a26b1276778c62ec9af8646b2d23d21ebffb9"
),
.target(
name: "BrazeKitResources",
Expand All @@ -65,18 +65,18 @@ let package = Package(
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.2.0/BrazeLocation.zip",
checksum: "5568e6363155a2b836622405bba12c78c76184fb5e5ddd9153e84e703ac9f743"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.3.0/BrazeLocation.zip",
checksum: "1b0d46815129130c52633536a94f59fb56571a9507ff6bb87149d9e0c06eaabe"
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.2.0/BrazeNotificationService.zip",
checksum: "5a3d743c8cc7bab42e2e20f25ccea20d37f6f1fe540cad9c4de7d2bf59698d41"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.3.0/BrazeNotificationService.zip",
checksum: "940388c443748821a15b86b4365b34daff4b03984fa1f4c957aac55b76eb63d6"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.2.0/BrazePushStory.zip",
checksum: "acda427a3d6995f9e64c3bb03b42a48eeef26e7d67279808736e1d7ef27bb8c5"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.3.0/BrazePushStory.zip",
checksum: "9631dd249e1c6b9775ec3f7a4f8c6dffd20b59c47c9ea52b9b885637fa2305fe"
),
.target(
name: "BrazeKitCompat",
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/6.2.0/blue" alt="Version: 6.2.0">
<img src="https://badgen.net/badge/version/6.3.0/blue" alt="Version: 6.3.0">
</a>
<a href="#">
<img src="https://badgen.net/badge/platforms/iOS%20%7C%20tvOS%20%7C%20Mac%20Catalyst/orange"
Expand Down
1 change: 1 addition & 0 deletions Sources/BrazeKitCompat/AppboyKit/ABKSdkMetadata.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
ABKSdkMetadata const ABKSdkMetadataPub = @"pub";
ABKSdkMetadata const ABKSdkMetadataRadar = @"rdr";
ABKSdkMetadata const ABKSdkMetadataReactNative = @"rn";
ABKSdkMetadata const ABKSdkMetadataReactNativeNewArch = @"rnna";
ABKSdkMetadata const ABKSdkMetadataSegment = @"sg";
ABKSdkMetadata const ABKSdkMetadataSingular = @"sng";
ABKSdkMetadata const ABKSdkMetadataSwiftPM = @"spm";
Expand Down
1 change: 1 addition & 0 deletions Sources/BrazeKitCompat/include/ABKSdkMetadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ extern ABKSdkMetadata const ABKSdkMetadataNuGet BRZ_DEPRECATED("renamed to 'Braz
extern ABKSdkMetadata const ABKSdkMetadataPub BRZ_DEPRECATED("renamed to 'Braze.Configuration.Api.SDKMetadata.pub'");
extern ABKSdkMetadata const ABKSdkMetadataRadar BRZ_DEPRECATED("renamed to 'Braze.Configuration.Api.SDKMetadata.radar'");
extern ABKSdkMetadata const ABKSdkMetadataReactNative BRZ_DEPRECATED("renamed to 'Braze.Configuration.Api.SDKMetadata.reactnative'");
extern ABKSdkMetadata const ABKSdkMetadataReactNativeNewArch BRZ_DEPRECATED("renamed to 'Braze.Configuration.Api.SDKMetadata.reactnativenewarch'");
extern ABKSdkMetadata const ABKSdkMetadataSegment BRZ_DEPRECATED("renamed to 'Braze.Configuration.Api.SDKMetadata.segment'");
extern ABKSdkMetadata const ABKSdkMetadataSingular BRZ_DEPRECATED("renamed to 'Braze.Configuration.Api.SDKMetadata.singular'");
extern ABKSdkMetadata const ABKSdkMetadataSwiftPM BRZ_DEPRECATED("renamed to 'Braze.Configuration.Api.SDKMetadata.swiftpm'");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ extension BrazeContentCardUI {
fatalError("init(coder:) has not been implemented")
}

/// The image height constraint. Unset until ``installInternalConstraints()`` is executed.
/// The image height constraint, unset until ``installInternalConstraints()`` is executed.
open var captionedImageHeight: NSLayoutConstraint!

/// The text container edges constraints. Unset until ``installInternalConstraints()`` is
/// The text container edges constraints, unset until ``installInternalConstraints()`` is
/// executed.
open var textContainerContraints: [NSLayoutConstraint]!

Expand Down
Loading

0 comments on commit fad25aa

Please sign in to comment.