Skip to content

Commit

Permalink
Version 5.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jerielng committed Jan 10, 2023
1 parent 2a4c863 commit 3f322b0
Show file tree
Hide file tree
Showing 15 changed files with 48 additions and 38 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 = '5.8.0'
s.version = '5.8.1'
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/5.8.0/BrazeKit-CocoaPods.zip',
:sha256 => 'bdf8cdde28e3dbbd0f3f089781e799a1922e5f6ee4f8299d4b8418ef053d8580'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazeKit-CocoaPods.zip',
:sha256 => '70425ff4fa72f3d1055e16143744d853bb8e1138a12f0e6c817e1fa8c34c2b56'
}

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

s.swift_version = '5.0'
s.ios.deployment_target = '10.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', '5.8.0'
s.dependency 'BrazeLocation', '5.8.0'
s.dependency 'BrazeKit', '5.8.1'
s.dependency 'BrazeLocation', '5.8.1'

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 = '5.8.0'
s.version = '5.8.1'
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/5.8.0/BrazeLocation-CocoaPods.zip',
:sha256 => '8d9b38a7df9714df3dcc2955de5914d6edef1e01852688ba0246498002a63318'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazeLocation-CocoaPods.zip',
:sha256 => '1188b595cface07378d447d74f28669c8e9fb413a67c41f48f5e6af0ae1d5603'
}

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', '5.8.0'
s.dependency 'BrazeKit', '5.8.1'

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 = '5.8.0'
s.version = '5.8.1'
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/5.8.0/BrazeNotificationService-CocoaPods.zip',
:sha256 => '3b61399b20b56c58ee897b3a0c80cc22d002f0bbc0369152352e5bc9d4691a17'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazeNotificationService-CocoaPods.zip',
:sha256 => '95d3bb08febb7032bb842596e5d3439497a923cb6cdcff1f70744e20be7a34b0'
}

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 = '5.8.0'
s.version = '5.8.1'
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/5.8.0/BrazePushStory-CocoaPods.zip',
:sha256 => 'e9a98b6a947d221b679e3a073670621d30518b1d93fdcf6ae4257526ada13a08'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazePushStory-CocoaPods.zip',
:sha256 => 'd69afaa3f18af01a1f7d55f7109742eae7a226847028a0c8d8cc016d47a251fb'
}

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

s.swift_version = '5.0'
s.ios.deployment_target = '10.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', '5.8.0'
s.dependency 'BrazeKit', '5.8.1'

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

s.swift_version = '5.0'
s.ios.deployment_target = '10.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', '5.8.0'
s.dependency 'BrazeKitCompat', '5.8.1'
s.dependency 'SDWebImage', '>= 5.8.2', '< 6'

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

##### Fixed
- Fixes a conflict with the shared instance of [`ProcessInfo`], allowing low power mode notifications to trigger correctly, along with usages of other [`ProcessInfo`] members.

##### Changed
- Renames the `BrazeLocation` class to `BrazeLocationProvider` to avoid shadowing the module of the same name ([SR-14195](https://bugs.swift.org/browse/SR-14195)).

[`ProcessInfo`]: https://developer.apple.com/documentation/foundation/processinfo

## 5.8.0

To help migrate your app from the Appboy-iOS-SDK to our Swift SDK, this release includes the `Appboy-iOS-SDK` [migration guide]:
Expand Down
2 changes: 1 addition & 1 deletion Examples/ObjC/Sources/Location/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ - (BOOL)application:(UIApplication *)application
[[BRZConfiguration alloc] initWithApiKey:brazeApiKey
endpoint:brazeEndpoint];
configuration.logger.level = BRZLoggerLevelInfo;
configuration.location.brazeLocation = [[BrazeLocation alloc] init];
configuration.location.brazeLocationProvider = [[BrazeLocationProvider alloc] init];
configuration.location.automaticLocationCollection = YES;
configuration.location.geofencesEnabled = YES;
configuration.location.automaticGeofenceRequests = YES;
Expand Down
2 changes: 1 addition & 1 deletion Examples/ObjC/Sources/Location/Readme.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void requestWhenInUseAuthorization(ReadmeViewController *viewController) {
@"This sample presents a complete BrazeLocation integration.\n"
@"\n"
@"- AppDelegate.{h,m}:\n"
@" - Configure the braze instance with BrazeLocation";
@" - Configure the braze instance with BrazeLocationProvider";

#if TARGET_OS_IOS

Expand Down
2 changes: 1 addition & 1 deletion Examples/Swift/Sources/Location/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// Setup Braze
let configuration = Braze.Configuration(apiKey: brazeApiKey, endpoint: brazeEndpoint)
configuration.logger.level = .info
configuration.location.brazeLocation = BrazeLocation()
configuration.location.brazeLocationProvider = BrazeLocationProvider()
configuration.location.automaticLocationCollection = true
configuration.location.geofencesEnabled = true
configuration.location.automaticGeofenceRequests = true
Expand Down
2 changes: 1 addition & 1 deletion Examples/Swift/Sources/Location/Readme.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let readme =
This sample presents a complete BrazeLocation integration which enables location tracking and geofence monitoring.
- AppDelegate.swift:
- Configure the braze instance with BrazeLocation
- Configure the braze instance with BrazeLocationProvider
"""

#if os(iOS)
Expand Down
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "BrazeKit",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.0/BrazeKit.zip",
checksum: "688fa95883da207a84334180cf24e513413606342296de9a1a18a9e476ff94e0"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazeKit.zip",
checksum: "7046789ed688566de892e7ea33ac0553553d036a8f4de040797519192f25c529"
),
.target(
name: "BrazeKitResources",
Expand All @@ -45,18 +45,18 @@ let package = Package(
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.0/BrazeLocation.zip",
checksum: "d30a4017cb8be420ef0f898505a42953fe4597c94c781bc44a079c9c4ba1bddf"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazeLocation.zip",
checksum: "aa2bb3accc0635ffa63f9b8421ddd523bed1c82cc795725e23e8efe6a7c5343f"
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.0/BrazeNotificationService.zip",
checksum: "478b9f720794ff5d7c836ad07bb750b8af3bcad9fef96ae228d6b4fbbb91ea7f"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazeNotificationService.zip",
checksum: "7e0d3e4ae508848400a96e2dfdcc5ea72d15a3a85ccfd2782874ed8d68fce4f0"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.0/BrazePushStory.zip",
checksum: "70c2a629f61b5de3f95166c5caba330c4dc3c191dc350302f0e92d4226a3ca55"
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazePushStory.zip",
checksum: "7996a73b4b7763490969556ea6daad4de19e54f2a18c9ca72c0647dfba8f5d2e"
),
.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/5.8.0/blue" alt="Version: 5.8.0">
<img src="https://badgen.net/badge/version/5.8.1/blue" alt="Version: 5.8.1">
</a>
<a href="#">
<img src="https://badgen.net/badge/platforms/iOS%20%7C%20tvOS%20%7C%20Mac%20Catalyst/orange"
Expand Down
4 changes: 2 additions & 2 deletions Sources/BrazeKitCompat/_ABKBRZCompat.m
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@ + (BRZConfiguration *)configurationWithApiKey:(NSString *)apiKey
configuration.location.automaticGeofenceRequests =
!disableAutomaticGeofencesRequest;

// Automatically add BrazeLocation when needed
// Automatically add BrazeLocationProvider when needed
if (automaticLocationCollection || enableGeofences) {
configuration.location.brazeLocation = [[BrazeLocation alloc] init];
configuration.location.brazeLocationProvider = [[BrazeLocationProvider alloc] init];
}

// Endpoint
Expand Down

0 comments on commit 3f322b0

Please sign in to comment.