From b75e8465b23460fed128aae042f1903c2f70e00b Mon Sep 17 00:00:00 2001 From: Jeriel Ng Date: Tue, 3 Dec 2024 10:36:04 -0500 Subject: [PATCH] Version 11.0.1 --- BrazeKit.podspec | 6 ++-- BrazeKitCompat.podspec | 8 ++--- BrazeLocation.podspec | 8 ++--- BrazeNotificationService.podspec | 6 ++-- BrazePushStory.podspec | 6 ++-- BrazeUI.podspec | 6 ++-- BrazeUICompat.podspec | 6 ++-- CHANGELOG.md | 5 ++++ .../project.pbxproj | 6 ++-- .../ObjC/Sources/PushNotifications/Info.plist | 30 ------------------- .../PushNotifications.entitlements | 12 -------- Examples/ObjC/manual-integration-setup.sh | 2 +- .../project.pbxproj | 6 ++-- .../Sources/PushNotifications/Info.plist | 30 ------------------- .../PushNotifications.entitlements | 12 -------- Examples/Swift/manual-integration-setup.sh | 2 +- Package.swift | 16 +++++----- README.md | 2 +- 18 files changed, 45 insertions(+), 124 deletions(-) delete mode 100644 Examples/ObjC/Sources/PushNotifications/Info.plist delete mode 100644 Examples/ObjC/Sources/PushNotifications/PushNotifications.entitlements delete mode 100644 Examples/Swift/Sources/PushNotifications/Info.plist delete mode 100644 Examples/Swift/Sources/PushNotifications/PushNotifications.entitlements diff --git a/BrazeKit.podspec b/BrazeKit.podspec index ca8f52ed09..0012a0e559 100644 --- a/BrazeKit.podspec +++ b/BrazeKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKit' - s.version = '11.0.0' + s.version = '11.0.1' 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/11.0.0/BrazeKit.zip', - :sha256 => '0a236bea81a47f3a3835d09c1e631d45039bd4baefca1a791b3c0085a415145f' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.1/BrazeKit.zip', + :sha256 => 'e9679a61aac1c082c4002804b937cbe76d1a534dfca30d05e709805f77ce0c6e' } s.swift_version = '5.0' diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec index 203cd54e09..f56a1b5112 100644 --- a/BrazeKitCompat.podspec +++ b/BrazeKitCompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKitCompat' - s.version = '11.0.0' + s.version = '11.0.1' 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 => '11.0.0' } + s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '11.0.1' } 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', '11.0.0' - s.dependency 'BrazeLocation', '11.0.0' + s.dependency 'BrazeKit', '11.0.1' + s.dependency 'BrazeLocation', '11.0.1' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeLocation.podspec b/BrazeLocation.podspec index 03f5ba97c3..97b671282f 100644 --- a/BrazeLocation.podspec +++ b/BrazeLocation.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeLocation' - s.version = '11.0.0' + s.version = '11.0.1' 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/11.0.0/BrazeLocation.zip', - :sha256 => '4962245ad3fc46efe1ae4d08926ce7cedc6bb54db42fbc37824a4f316cd3bfbe' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.1/BrazeLocation.zip', + :sha256 => '64519c0ea011f7bc7ebaf28aa1f7227ce35deca6e6b7e5c21dc03f0539c15c5a' } 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', '11.0.0' + s.dependency 'BrazeKit', '11.0.1' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeNotificationService.podspec b/BrazeNotificationService.podspec index 514e7db5a5..790c36fae1 100644 --- a/BrazeNotificationService.podspec +++ b/BrazeNotificationService.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeNotificationService' - s.version = '11.0.0' + s.version = '11.0.1' 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/11.0.0/BrazeNotificationService.zip', - :sha256 => 'dfbcbdb4e37789a229743be1009d9f00811cd51b80d6c0d00f4ded2e75c85d76' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.1/BrazeNotificationService.zip', + :sha256 => '84b9a09491b46e19920fa74f3ce956ce8b1a952206b6d77a65bb26c3aa4ac01c' } s.swift_version = '5.0' diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec index 87ddf8b1a0..8219a5c80b 100644 --- a/BrazePushStory.podspec +++ b/BrazePushStory.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazePushStory' - s.version = '11.0.0' + s.version = '11.0.1' 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/11.0.0/BrazePushStory.zip', - :sha256 => '8e3579612aed0d7c16092683bd4fe99fe3ba6e8aa8a1bec103dd001b5e0891d5' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.1/BrazePushStory.zip', + :sha256 => 'c9ecfd01efbb3052320c628d68f79550c4ca86dd444b678f8207d5a10541a615' } s.swift_version = '5.0' diff --git a/BrazeUI.podspec b/BrazeUI.podspec index fe7da9c62a..7097357411 100644 --- a/BrazeUI.podspec +++ b/BrazeUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUI' - s.version = '11.0.0' + s.version = '11.0.1' 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 => '11.0.0' } + s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '11.0.1' } 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', '11.0.0' + s.dependency 'BrazeKit', '11.0.1' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeUICompat.podspec b/BrazeUICompat.podspec index 1e63ed57cf..ce093ef025 100644 --- a/BrazeUICompat.podspec +++ b/BrazeUICompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUICompat' - s.version = '11.0.0' + s.version = '11.0.1' 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 => '11.0.0' } + s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '11.0.1' } 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', '11.0.0' + s.dependency 'BrazeKitCompat', '11.0.1' s.dependency 'SDWebImage', '>= 5.19.7', '< 6' s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' } diff --git a/CHANGELOG.md b/CHANGELOG.md index 24fc9dde72..06bb00cafd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 11.0.1 + +##### Fixed +- Fixes an issue introduced in `11.0.0` where the push subscription status would be sent to the backend with an inaccurate value at startup, causing an unexpected subscription state. The SDK now sends up the accurate subscription status at each startup. + ## 11.0.0 ##### Breaking diff --git a/Examples/ObjC/Examples-SwiftPM.xcodeproj/project.pbxproj b/Examples/ObjC/Examples-SwiftPM.xcodeproj/project.pbxproj index 4c065d21f4..b9fa561a16 100644 --- a/Examples/ObjC/Examples-SwiftPM.xcodeproj/project.pbxproj +++ b/Examples/ObjC/Examples-SwiftPM.xcodeproj/project.pbxproj @@ -963,7 +963,7 @@ mainGroup = D8CC2266D736859D7DD9A8FF; packageReferences = ( 9928D5150C45879A982BA1C6 /* XCRemoteSwiftPackageReference "SDWebImage" */, - B0CAEC5E933F542260FE1612 /* XCLocalSwiftPackageReference "/Users/daniel.hok/Desktop/swift-sdk/.build/braze/release/braze-swift-sdk" */, + 90D8318C2DB3CED6610DD38C /* XCLocalSwiftPackageReference "/Users/jerielng/swift-sdk/.build/braze/release/braze-swift-sdk" */, ); projectDirPath = ""; projectRoot = ""; @@ -2123,9 +2123,9 @@ /* End XCRemoteSwiftPackageReference section */ /* Begin XCLocalSwiftPackageReference section */ - B0CAEC5E933F542260FE1612 /* XCLocalSwiftPackageReference "/Users/daniel.hok/Desktop/swift-sdk/.build/braze/release/braze-swift-sdk" */ = { + 90D8318C2DB3CED6610DD38C /* XCLocalSwiftPackageReference "/Users/jerielng/swift-sdk/.build/braze/release/braze-swift-sdk" */ = { isa = XCLocalSwiftPackageReference; - relativePath = "/Users/daniel.hok/Desktop/swift-sdk/.build/braze/release/braze-swift-sdk"; + relativePath = "/Users/jerielng/swift-sdk/.build/braze/release/braze-swift-sdk"; }; /* End XCLocalSwiftPackageReference section */ 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 7f388cb6bd..a4474d6dd4 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/11.0.0/braze-swift-sdk-prebuilt.zip" +url="https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.1/braze-swift-sdk-prebuilt.zip" echo "→" "Cleaning up" rm -rf braze-swift-sdk-prebuilt diff --git a/Examples/Swift/Examples-SwiftPM.xcodeproj/project.pbxproj b/Examples/Swift/Examples-SwiftPM.xcodeproj/project.pbxproj index cc48652a43..1832338e7d 100644 --- a/Examples/Swift/Examples-SwiftPM.xcodeproj/project.pbxproj +++ b/Examples/Swift/Examples-SwiftPM.xcodeproj/project.pbxproj @@ -957,7 +957,7 @@ mainGroup = D8CC2266D736859D7DD9A8FF; packageReferences = ( 9928D5150C45879A982BA1C6 /* XCRemoteSwiftPackageReference "SDWebImage" */, - B0CAEC5E933F542260FE1612 /* XCLocalSwiftPackageReference "/Users/daniel.hok/Desktop/swift-sdk/.build/braze/release/braze-swift-sdk" */, + 90D8318C2DB3CED6610DD38C /* XCLocalSwiftPackageReference "/Users/jerielng/swift-sdk/.build/braze/release/braze-swift-sdk" */, ); projectDirPath = ""; projectRoot = ""; @@ -2115,9 +2115,9 @@ /* End XCRemoteSwiftPackageReference section */ /* Begin XCLocalSwiftPackageReference section */ - B0CAEC5E933F542260FE1612 /* XCLocalSwiftPackageReference "/Users/daniel.hok/Desktop/swift-sdk/.build/braze/release/braze-swift-sdk" */ = { + 90D8318C2DB3CED6610DD38C /* XCLocalSwiftPackageReference "/Users/jerielng/swift-sdk/.build/braze/release/braze-swift-sdk" */ = { isa = XCLocalSwiftPackageReference; - relativePath = "/Users/daniel.hok/Desktop/swift-sdk/.build/braze/release/braze-swift-sdk"; + relativePath = "/Users/jerielng/swift-sdk/.build/braze/release/braze-swift-sdk"; }; /* End XCLocalSwiftPackageReference section */ 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 7f388cb6bd..a4474d6dd4 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/11.0.0/braze-swift-sdk-prebuilt.zip" +url="https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.1/braze-swift-sdk-prebuilt.zip" echo "→" "Cleaning up" rm -rf braze-swift-sdk-prebuilt diff --git a/Package.swift b/Package.swift index a28bd7a67d..efab66b807 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/11.0.0/BrazeKit.zip", - checksum: "0a236bea81a47f3a3835d09c1e631d45039bd4baefca1a791b3c0085a415145f" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.1/BrazeKit.zip", + checksum: "e9679a61aac1c082c4002804b937cbe76d1a534dfca30d05e709805f77ce0c6e" ), .target( name: "BrazeKitResources", @@ -67,8 +67,8 @@ let package = Package( ), .binaryTarget( name: "BrazeLocation", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.0/BrazeLocation.zip", - checksum: "4962245ad3fc46efe1ae4d08926ce7cedc6bb54db42fbc37824a4f316cd3bfbe" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.1/BrazeLocation.zip", + checksum: "64519c0ea011f7bc7ebaf28aa1f7227ce35deca6e6b7e5c21dc03f0539c15c5a" ), .target( name: "BrazeLocationResources", @@ -78,13 +78,13 @@ let package = Package( ), .binaryTarget( name: "BrazeNotificationService", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.0/BrazeNotificationService.zip", - checksum: "dfbcbdb4e37789a229743be1009d9f00811cd51b80d6c0d00f4ded2e75c85d76" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.1/BrazeNotificationService.zip", + checksum: "84b9a09491b46e19920fa74f3ce956ce8b1a952206b6d77a65bb26c3aa4ac01c" ), .binaryTarget( name: "BrazePushStory", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.0/BrazePushStory.zip", - checksum: "8e3579612aed0d7c16092683bd4fe99fe3ba6e8aa8a1bec103dd001b5e0891d5" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.0.1/BrazePushStory.zip", + checksum: "c9ecfd01efbb3052320c628d68f79550c4ca86dd444b678f8207d5a10541a615" ), .target( name: "BrazePushStoryResources", diff --git a/README.md b/README.md index a6c3de14b7..a429433545 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- Version: 11.0.0 + Version: 11.0.1