diff --git a/BrazeKit.podspec b/BrazeKit.podspec
index e1f83fb0b9..b2efca0a23 100644
--- a/BrazeKit.podspec
+++ b/BrazeKit.podspec
@@ -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'
@@ -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'
diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec
index 0a075e33fa..4ac29c947c 100644
--- a/BrazeKitCompat.podspec
+++ b/BrazeKitCompat.podspec
@@ -1,6 +1,6 @@
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'
@@ -8,7 +8,7 @@ Pod::Spec.new do |s|
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'
@@ -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
diff --git a/BrazeLocation.podspec b/BrazeLocation.podspec
index bf34d56c47..04a7a474e1 100644
--- a/BrazeLocation.podspec
+++ b/BrazeLocation.podspec
@@ -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'
@@ -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'
@@ -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
diff --git a/BrazeNotificationService.podspec b/BrazeNotificationService.podspec
index 7da197ad45..d4b99732bf 100644
--- a/BrazeNotificationService.podspec
+++ b/BrazeNotificationService.podspec
@@ -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'
@@ -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'
diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec
index 0a38663097..c22692e2be 100644
--- a/BrazePushStory.podspec
+++ b/BrazePushStory.podspec
@@ -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'
@@ -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'
diff --git a/BrazeUI.podspec b/BrazeUI.podspec
index 6941603421..d514ce96f1 100644
--- a/BrazeUI.podspec
+++ b/BrazeUI.podspec
@@ -1,6 +1,6 @@
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'
@@ -8,7 +8,7 @@ Pod::Spec.new do |s|
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'
@@ -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
diff --git a/BrazeUICompat.podspec b/BrazeUICompat.podspec
index de42cc5e0c..d8ef20e7ab 100644
--- a/BrazeUICompat.podspec
+++ b/BrazeUICompat.podspec
@@ -1,6 +1,6 @@
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'
@@ -8,7 +8,7 @@ Pod::Spec.new do |s|
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'
@@ -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' }
diff --git a/CHANGELOG.md b/CHANGELOG.md
index af21db67c2..58aabe1356 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/Examples/ObjC/Sources/Location/AppDelegate.m b/Examples/ObjC/Sources/Location/AppDelegate.m
index 938b917fe9..8933efb8ab 100644
--- a/Examples/ObjC/Sources/Location/AppDelegate.m
+++ b/Examples/ObjC/Sources/Location/AppDelegate.m
@@ -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;
diff --git a/Examples/ObjC/Sources/PushNotifications/Info.plist b/Examples/ObjC/Sources/PushNotifications/Info.plist
deleted file mode 100644
index d7f8ec8ca2..0000000000
--- a/Examples/ObjC/Sources/PushNotifications/Info.plist
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-