Skip to content

Commit

Permalink
Version 9.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hokstuff committed May 14, 2024
1 parent 22a9c2d commit 59aa933
Show file tree
Hide file tree
Showing 16 changed files with 131 additions and 34 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 = '9.0.0'
s.version = '9.1.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/9.0.0/BrazeKit.zip',
:sha256 => 'e7e7111caa48a88ba38c3f3e19ec15ee233113da5e20b28eb94681f90bc932cb'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/9.1.0/BrazeKit.zip',
:sha256 => '693c8d5f940e8d68702910ccaec73cf4749f55b336cb9f5dd4b4d4364df168f8'
}

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 = '9.0.0'
s.version = '9.1.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 => '9.0.0' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '9.1.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', '9.0.0'
s.dependency 'BrazeLocation', '9.0.0'
s.dependency 'BrazeKit', '9.1.0'
s.dependency 'BrazeLocation', '9.1.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 = '9.0.0'
s.version = '9.1.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/9.0.0/BrazeLocation.zip',
:sha256 => 'e1c62899538484427be241ed42e29d88a0314d0ce12c73f67edaa5cf41953a43'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/9.1.0/BrazeLocation.zip',
:sha256 => 'bfa13cd2b38dba7824377979c74fda8d08b10cb33f09aaad8a0617c620c3493e'
}

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', '9.0.0'
s.dependency 'BrazeKit', '9.1.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 = '9.0.0'
s.version = '9.1.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/9.0.0/BrazeNotificationService.zip',
:sha256 => '3d8196a08e0f0099933c012c7a900c42339a5b1c97bcf0819a1f3d13c6eac6f5'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/9.1.0/BrazeNotificationService.zip',
:sha256 => 'c4648f53a3f8dd273304d7cdb6e6d2cecc8c9dc494d7b321508deb7bea5e884b'
}

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 = '9.0.0'
s.version = '9.1.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/9.0.0/BrazePushStory.zip',
:sha256 => '453d4c24425a19ebc6f220b030faa154f65e5678e796e8a0608b2883d7806d4f'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/9.1.0/BrazePushStory.zip',
:sha256 => '5bf7915057a01c2f7087cc0ef5a1adcb36310366759927a19144be0a645625e0'
}

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

##### Added
- Adds support for 3 new Feature Flag property types and various APIs for accessing them:
- `Braze.FeatureFlag.timestampProperty(key:)` for accessing `Int` Unix UTC millisecond timestamps.
- `Braze.FeatureFlag.imageProperty(key:)` for accessing image URLs as `String`s.
- `Braze.FeatureFlag.jsonObjectProperty(key:)` for accessing JSONs as `[String:Any]` dictionaries.
- `Braze.FeatureFlag.jsonStringProperty(key:)` for accessing JSONs as `String`s.
- Adds safeguards when reading the device model.

##### Fixed
- Fixes the duplicate symbols compilation errors and runtime warnings that may occur under specific conditions when integrating `BrazeKit` and either `BrazeNotificationService` or `BrazePushStory` via CocoaPods.

## 9.0.0

##### Breaking
Expand Down
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-DelayedInitialization</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/9.0.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/9.1.0/braze-swift-sdk-prebuilt.zip"

echo "" "Cleaning up"
rm -rf braze-swift-sdk-prebuilt
Expand Down
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-DelayedInitialization</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/9.0.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/9.1.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 @@ -49,8 +49,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "BrazeKit",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/9.0.0/BrazeKit.zip",
checksum: "e7e7111caa48a88ba38c3f3e19ec15ee233113da5e20b28eb94681f90bc932cb"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/9.1.0/BrazeKit.zip",
checksum: "693c8d5f940e8d68702910ccaec73cf4749f55b336cb9f5dd4b4d4364df168f8"
),
.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/9.0.0/BrazeLocation.zip",
checksum: "e1c62899538484427be241ed42e29d88a0314d0ce12c73f67edaa5cf41953a43"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/9.1.0/BrazeLocation.zip",
checksum: "bfa13cd2b38dba7824377979c74fda8d08b10cb33f09aaad8a0617c620c3493e"
),
.target(
name: "BrazeLocationResources",
Expand All @@ -78,13 +78,13 @@ let package = Package(
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/9.0.0/BrazeNotificationService.zip",
checksum: "3d8196a08e0f0099933c012c7a900c42339a5b1c97bcf0819a1f3d13c6eac6f5"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/9.1.0/BrazeNotificationService.zip",
checksum: "c4648f53a3f8dd273304d7cdb6e6d2cecc8c9dc494d7b321508deb7bea5e884b"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/9.0.0/BrazePushStory.zip",
checksum: "453d4c24425a19ebc6f220b030faa154f65e5678e796e8a0608b2883d7806d4f"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/9.1.0/BrazePushStory.zip",
checksum: "5bf7915057a01c2f7087cc0ef5a1adcb36310366759927a19144be0a645625e0"
),
.target(
name: "BrazePushStoryResources",
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/9.0.0/blue" alt="Version: 9.0.0">
<img src="https://badgen.net/badge/version/9.1.0/blue" alt="Version: 9.1.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

0 comments on commit 59aa933

Please sign in to comment.