Skip to content

Commit

Permalink
Version 11.0.0-instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lowip committed Oct 9, 2024
1 parent a2ba9e4 commit 3bf0a43
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 42 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 = '11.1.0'
s.version = '11.0.0-instrumentation'
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-hang-investigation/releases/download/11.1.0/BrazeKit.zip',
:sha256 => '018cd25308b966b0b845cd39fc3d415f2214fcb03b0cfee2351f08f2850e1bfb'
:http => 'https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.0.0-instrumentation/BrazeKit.zip',
:sha256 => '78d1253c57b76fb1355a510e681cfbb72640419f182082453cce88324bbb8230'
}

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

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', '11.1.0'
s.dependency 'BrazeLocation', '11.1.0'
s.dependency 'BrazeKit', '11.0.0-instrumentation'
s.dependency 'BrazeLocation', '11.0.0-instrumentation'

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 = '11.1.0'
s.version = '11.0.0-instrumentation'
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-hang-investigation/releases/download/11.1.0/BrazeLocation.zip',
:sha256 => '217d80f3edecf6fa8e7acacfc4a74f96aefea1462911c5b0372a61ce59668c82'
:http => 'https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.0.0-instrumentation/BrazeLocation.zip',
:sha256 => '6be2caa66b90e481d0608f91102b55394608351fa8d30d6e273487c1de53b2f5'
}

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', '11.1.0'
s.dependency 'BrazeKit', '11.0.0-instrumentation'

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 = '11.1.0'
s.version = '11.0.0-instrumentation'
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-hang-investigation/releases/download/11.1.0/BrazeNotificationService.zip',
:sha256 => '6d88af611177caf0b947f47d90efc75d58d3af29ed629d457b3c50b188b22090'
:http => 'https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.0.0-instrumentation/BrazeNotificationService.zip',
:sha256 => '783cd68dc8e73c6a35a27ef5093f4f9df1e1053df0946798d31b2173c4c9d93d'
}

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 = '11.1.0'
s.version = '11.0.0-instrumentation'
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-hang-investigation/releases/download/11.1.0/BrazePushStory.zip',
:sha256 => '6c8c3848695e98c4d0d391c7d8fd43d3a9e0443fa20ab29d2c9d7468a1fa371e'
:http => 'https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.0.0-instrumentation/BrazePushStory.zip',
:sha256 => '47fc61b122a1ba53c6597bd975504e8b3f1830f4417eebe2f6298e90bac85474'
}

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

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', '11.1.0'
s.dependency 'BrazeKit', '11.0.0-instrumentation'

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

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', '11.1.0'
s.dependency 'BrazeKitCompat', '11.0.0-instrumentation'
s.dependency 'SDWebImage', '>= 5.19.7', '< 6'

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

##### Fixed
- Fixes an issue introduced in `11.0.0` where the push token status would not always be reported in all circumstances.
- Fixes a display bug where an in-app message would appear truncated after certain keyboard dismissal scenarios.
- Fixes a reference cycle in `Braze.NewsFeedCard.Context` that could prevent the card from being deallocated.
## 11.0.0-instrumentation

##### Added
- Adds a public initializer for `Braze.Notifications.Payload`.
- Added instrumentation around SDK initialization

## 11.0.0

Expand All @@ -28,6 +23,9 @@
#### Fixed
- Fixes the push authorization status reporting to display the proper push token status on the Dashboard when a user has not explicitly accepted or declined push permissions.

#### Additionally Fixed
- Replaces `AsyncViewStore.executeSync` implementation to use the scheduler's underlying `DispatchQueue.sync` method instead of using a `DispatchSemaphore` to block the current thread.

## 10.3.1

##### Fixed
Expand Down
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-hang-investigation/releases/download/11.1.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.0.0-instrumentation/braze-swift-sdk-prebuilt.zip"

echo "" "Cleaning up"
rm -rf braze-swift-sdk-prebuilt
Expand Down
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-hang-investigation/releases/download/11.1.0/braze-swift-sdk-prebuilt.zip"
url="https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.0.0-instrumentation/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-hang-investigation/releases/download/11.1.0/BrazeKit.zip",
checksum: "018cd25308b966b0b845cd39fc3d415f2214fcb03b0cfee2351f08f2850e1bfb"
url: "https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.0.0-instrumentation/BrazeKit.zip",
checksum: "78d1253c57b76fb1355a510e681cfbb72640419f182082453cce88324bbb8230"
),
.target(
name: "BrazeKitResources",
Expand All @@ -67,8 +67,8 @@ let package = Package(
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.1.0/BrazeLocation.zip",
checksum: "217d80f3edecf6fa8e7acacfc4a74f96aefea1462911c5b0372a61ce59668c82"
url: "https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.0.0-instrumentation/BrazeLocation.zip",
checksum: "6be2caa66b90e481d0608f91102b55394608351fa8d30d6e273487c1de53b2f5"
),
.target(
name: "BrazeLocationResources",
Expand All @@ -78,13 +78,13 @@ let package = Package(
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.1.0/BrazeNotificationService.zip",
checksum: "6d88af611177caf0b947f47d90efc75d58d3af29ed629d457b3c50b188b22090"
url: "https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.0.0-instrumentation/BrazeNotificationService.zip",
checksum: "783cd68dc8e73c6a35a27ef5093f4f9df1e1053df0946798d31b2173c4c9d93d"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.1.0/BrazePushStory.zip",
checksum: "6c8c3848695e98c4d0d391c7d8fd43d3a9e0443fa20ab29d2c9d7468a1fa371e"
url: "https://github.com/braze-inc/braze-swift-sdk-hang-investigation/releases/download/11.0.0-instrumentation/BrazePushStory.zip",
checksum: "47fc61b122a1ba53c6597bd975504e8b3f1830f4417eebe2f6298e90bac85474"
),
.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/11.1.0/blue" alt="Version: 11.1.0">
<img src="https://badgen.net/badge/version/11.0.0-instrumentation/blue" alt="Version: 11.0.0-instrumentation">
</a>
<a href="#">
<img src="https://badgen.net/badge/platforms/iOS%20%7C%20visionOS%20%7C%20tvOS%20%7C%20Mac%20Catalyst/orange"
Expand Down
1 change: 0 additions & 1 deletion Sources/BrazeUI/Dependencies/KeyboardFrameNotifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ open class KeyboardFrameNotifier {

@objc
func didHide(_ notification: Notification) {
frame = .zero
subscriptions.values.forEach { $0(frame) }
}

Expand Down

0 comments on commit 3bf0a43

Please sign in to comment.