Skip to content

Commit

Permalink
Version 8.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jerielng committed Apr 9, 2024
1 parent 1369b7b commit f893978
Show file tree
Hide file tree
Showing 18 changed files with 47 additions and 118 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.3.0'
s.version = '8.4.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.3.0/BrazeKit.zip',
:sha256 => '61daa5a033374ab0237f409e510f9a6f89089f54f19d811e8d1767c422292343'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/8.4.0/BrazeKit.zip',
:sha256 => '9a12014fbd90fdafe33bab80924ddac6032b1018156ad8191f9625a5dd63755d'
}

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.3.0'
s.version = '8.4.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.3.0' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '8.4.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.3.0'
s.dependency 'BrazeLocation', '8.3.0'
s.dependency 'BrazeKit', '8.4.0'
s.dependency 'BrazeLocation', '8.4.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.3.0'
s.version = '8.4.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.3.0/BrazeLocation.zip',
:sha256 => '044b08c43ce9b8fbf102c728fd85540185faa45e8100ca6b09487be14867bf9d'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/8.4.0/BrazeLocation.zip',
:sha256 => '6f1b0c929198d20748437651c7c1357d4e65c1492b110b7432b95e97b32a89d4'
}

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.3.0'
s.dependency 'BrazeKit', '8.4.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.3.0'
s.version = '8.4.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.3.0/BrazeNotificationService.zip',
:sha256 => '035423f4f6684b679d854561760db12bb617f32f2596da3a29a55bfa531ffb6e'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/8.4.0/BrazeNotificationService.zip',
:sha256 => '701cb2bfa0b470f0a73bdef28654bfd2580ceb39562aed7f645eccb99c3800b7'
}

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.3.0'
s.version = '8.4.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/8.3.0/BrazePushStory.zip',
:sha256 => 'bf72b707da9a56e9f7edcb055dadd32d7b59179b5437eacd6fd446270e50a22a'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/8.4.0/BrazePushStory.zip',
:sha256 => '5f1cf81215a04da786898a904efafb81b7efef91afe852665e6a85f0c812349a'
}

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 = '8.3.0'
s.version = '8.4.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.3.0' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '8.4.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.3.0'
s.dependency 'BrazeKit', '8.4.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.3.0'
s.version = '8.4.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.3.0' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '8.4.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.3.0'
s.dependency 'BrazeKitCompat', '8.4.0'
s.dependency 'SDWebImage', '>= 5.19.0', '< 6'

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

##### Added
- Expands Geofences behavior in the background while "When In Use" authorization is selected:
- Adds the `Braze.Location.Configuration.allowBackgroundGeofenceUpdates` property to toggle whether geofences should be updated in the background.
- When using this setting, verify that you have enabled the _Location updates_ background mode.
- Adds the `Braze.Location.Configuration.distanceFilter` property to configure the minimum distance sensitivity for triggering a location update.
- Adds support for the `message_extras` Liquid tag for in-app messages.

## 8.3.0

##### Added
Expand Down
2 changes: 2 additions & 0 deletions Examples/ObjC/Sources/Location/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ - (BOOL)application:(UIApplication *)application
configuration.location.automaticLocationCollection = YES;
configuration.location.geofencesEnabled = YES;
configuration.location.automaticGeofenceRequests = YES;
configuration.location.allowBackgroundGeofenceUpdates = YES;
configuration.location.distanceFilter = 5000;
Braze *braze = [[Braze alloc] initWithConfiguration:configuration];
AppDelegate.braze = braze;

Expand Down
30 changes: 0 additions & 30 deletions Examples/ObjC/Sources/PushNotifications/Info.plist

This file was deleted.

This file was deleted.

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.3.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/8.4.0/braze-swift-sdk-prebuilt.zip"

echo "" "Cleaning up"
rm -rf braze-swift-sdk-prebuilt
Expand Down
2 changes: 2 additions & 0 deletions Examples/Swift/Sources/Location/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
configuration.location.automaticLocationCollection = true
configuration.location.geofencesEnabled = true
configuration.location.automaticGeofenceRequests = true
configuration.location.allowBackgroundGeofenceUpdates = true
configuration.location.distanceFilter = 5000
let braze = Braze(configuration: configuration)
AppDelegate.braze = braze

Expand Down
30 changes: 0 additions & 30 deletions Examples/Swift/Sources/PushNotifications/Info.plist

This file was deleted.

This file was deleted.

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.3.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk/releases/download/8.4.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/8.3.0/BrazeKit.zip",
checksum: "61daa5a033374ab0237f409e510f9a6f89089f54f19d811e8d1767c422292343"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.4.0/BrazeKit.zip",
checksum: "9a12014fbd90fdafe33bab80924ddac6032b1018156ad8191f9625a5dd63755d"
),
.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.3.0/BrazeLocation.zip",
checksum: "044b08c43ce9b8fbf102c728fd85540185faa45e8100ca6b09487be14867bf9d"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.4.0/BrazeLocation.zip",
checksum: "6f1b0c929198d20748437651c7c1357d4e65c1492b110b7432b95e97b32a89d4"
),
.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/8.3.0/BrazeNotificationService.zip",
checksum: "035423f4f6684b679d854561760db12bb617f32f2596da3a29a55bfa531ffb6e"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.4.0/BrazeNotificationService.zip",
checksum: "701cb2bfa0b470f0a73bdef28654bfd2580ceb39562aed7f645eccb99c3800b7"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.3.0/BrazePushStory.zip",
checksum: "bf72b707da9a56e9f7edcb055dadd32d7b59179b5437eacd6fd446270e50a22a"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/8.4.0/BrazePushStory.zip",
checksum: "5f1cf81215a04da786898a904efafb81b7efef91afe852665e6a85f0c812349a"
),
.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/8.3.0/blue" alt="Version: 8.3.0">
<img src="https://badgen.net/badge/version/8.4.0/blue" alt="Version: 8.4.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 f893978

Please sign in to comment.