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 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - PushNotifications - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - UIBackgroundModes - - remote-notification - - UILaunchStoryboardName - LaunchScreen - - diff --git a/Examples/ObjC/Sources/PushNotifications/PushNotifications.entitlements b/Examples/ObjC/Sources/PushNotifications/PushNotifications.entitlements deleted file mode 100644 index 9cad402b51..0000000000 --- a/Examples/ObjC/Sources/PushNotifications/PushNotifications.entitlements +++ /dev/null @@ -1,12 +0,0 @@ - - - - - aps-environment - development - com.apple.security.application-groups - - group.com.braze.PushNotifications.PushStories - - - diff --git a/Examples/ObjC/manual-integration-setup.sh b/Examples/ObjC/manual-integration-setup.sh index 8290471e97..94c5c050ab 100755 --- a/Examples/ObjC/manual-integration-setup.sh +++ b/Examples/ObjC/manual-integration-setup.sh @@ -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 diff --git a/Examples/Swift/Sources/Location/AppDelegate.swift b/Examples/Swift/Sources/Location/AppDelegate.swift index 591f77254f..7c96f3f7ca 100644 --- a/Examples/Swift/Sources/Location/AppDelegate.swift +++ b/Examples/Swift/Sources/Location/AppDelegate.swift @@ -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 diff --git a/Examples/Swift/Sources/PushNotifications/Info.plist b/Examples/Swift/Sources/PushNotifications/Info.plist deleted file mode 100644 index d7f8ec8ca2..0000000000 --- a/Examples/Swift/Sources/PushNotifications/Info.plist +++ /dev/null @@ -1,30 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - PushNotifications - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - UIBackgroundModes - - remote-notification - - UILaunchStoryboardName - LaunchScreen - - diff --git a/Examples/Swift/Sources/PushNotifications/PushNotifications.entitlements b/Examples/Swift/Sources/PushNotifications/PushNotifications.entitlements deleted file mode 100644 index 9cad402b51..0000000000 --- a/Examples/Swift/Sources/PushNotifications/PushNotifications.entitlements +++ /dev/null @@ -1,12 +0,0 @@ - - - - - aps-environment - development - com.apple.security.application-groups - - group.com.braze.PushNotifications.PushStories - - - diff --git a/Examples/Swift/manual-integration-setup.sh b/Examples/Swift/manual-integration-setup.sh index 8290471e97..94c5c050ab 100755 --- a/Examples/Swift/manual-integration-setup.sh +++ b/Examples/Swift/manual-integration-setup.sh @@ -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 diff --git a/Package.swift b/Package.swift index 8ec8908b9b..c84290d8db 100644 --- a/Package.swift +++ b/Package.swift @@ -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", @@ -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", @@ -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", diff --git a/README.md b/README.md index c2b03834ba..655b827a00 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- Version: 8.3.0 + Version: 8.4.0