From 2973b623ab2c270bfa5acf3142397b0e1f4806af Mon Sep 17 00:00:00 2001 From: Jeriel Ng Date: Fri, 9 Feb 2024 11:34:03 -0500 Subject: [PATCH] Version 7.7.0 --- BrazeKit.podspec | 6 ++-- BrazeKitCompat.podspec | 8 ++--- BrazeLocation.podspec | 10 +++---- BrazeNotificationService.podspec | 6 ++-- BrazePushStory.podspec | 6 ++-- BrazeUI.podspec | 6 ++-- BrazeUICompat.podspec | 8 ++--- CHANGELOG.md | 21 +++++++++++++ .../Examples-Manual.xcodeproj/project.pbxproj | 10 +++++++ .../project.pbxproj | 2 +- .../ObjC/Sources/PushNotifications/Info.plist | 30 ------------------- .../PushNotifications.entitlements | 12 -------- Examples/ObjC/manual-integration-setup.sh | 2 +- .../Examples-Manual.xcodeproj/project.pbxproj | 10 +++++++ .../project.pbxproj | 2 +- .../Sources/PushNotifications/Info.plist | 30 ------------------- .../PushNotifications.entitlements | 12 -------- Examples/Swift/manual-integration-setup.sh | 2 +- Package.swift | 18 +++++------ README.md | 4 +-- .../Localization/az.lproj/Localizable.strings | 11 +++++++ .../Localization/uk.lproj/Localizable.strings | 20 ++++++------- .../Views/InAppMessageUIFullView.swift | 2 -- .../az.lproj/ContentCardsLocalizable.strings | 1 + .../az.lproj/InAppMessageLocalizable.strings | 1 + .../uk.lproj/ContentCardsLocalizable.strings | 2 +- .../AppboyContentCardsLocalizable.strings | 5 ++++ .../AppboyContentCardsLocalizable.strings | 4 +-- .../AppboyInAppMessageLocalizable.strings | 1 + .../az.lproj/AppboyFeedLocalizable.strings | 5 ++++ .../uk.lproj/AppboyFeedLocalizable.strings | 4 +-- 31 files changed, 119 insertions(+), 142 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 create mode 100644 Sources/BrazeKitResources/Resources/Localization/az.lproj/Localizable.strings create mode 100644 Sources/BrazeUI/Resources/Localization/az.lproj/ContentCardsLocalizable.strings create mode 100644 Sources/BrazeUI/Resources/Localization/az.lproj/InAppMessageLocalizable.strings create mode 100644 Sources/BrazeUICompat/ABKContentCards/Resources/az.lproj/AppboyContentCardsLocalizable.strings create mode 100644 Sources/BrazeUICompat/ABKInAppMessage/Resources/az.lproj/AppboyInAppMessageLocalizable.strings create mode 100644 Sources/BrazeUICompat/ABKNewsFeed/Resources/az.lproj/AppboyFeedLocalizable.strings diff --git a/BrazeKit.podspec b/BrazeKit.podspec index 60d6ba10c8..7cf88bd293 100644 --- a/BrazeKit.podspec +++ b/BrazeKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKit' - s.version = '7.6.0' + s.version = '7.7.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/7.6.0/BrazeKit.zip', - :sha256 => '21d77f95fdcffe5bc614bd65d4bd99afd6a7429f40d26401a61e47dc3aad0c32' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/7.7.0/BrazeKit.zip', + :sha256 => '37da22d8db48da998da446cf125812a401b2a31430be7f613b7b3d22ac125084' } s.swift_version = '5.0' diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec index a0bbc57d0a..701d3d9238 100644 --- a/BrazeKitCompat.podspec +++ b/BrazeKitCompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKitCompat' - s.version = '7.6.0' + s.version = '7.7.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 => '7.6.0' } + s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '7.7.0' } s.swift_version = '5.0' s.ios.deployment_target = '11.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', '7.6.0' - s.dependency 'BrazeLocation', '7.6.0' + s.dependency 'BrazeKit', '7.7.0' + s.dependency 'BrazeLocation', '7.7.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeLocation.podspec b/BrazeLocation.podspec index c90e76c41d..883e72be78 100644 --- a/BrazeLocation.podspec +++ b/BrazeLocation.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeLocation' - s.version = '7.6.0' + s.version = '7.7.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/7.6.0/BrazeLocation.zip', - :sha256 => '32eb6d7c2ca426ec4f62ad41c6d3db4dfce0d6eab4c87e4336bb18270e73d1e8' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/7.7.0/BrazeLocation.zip', + :sha256 => 'a7e2269f824c92a53f2ed8e4e67dc9c70d5ec0f4a247cb4e1d66d2ca7e6d227f' } s.swift_version = '5.0' @@ -20,9 +20,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeLocation.xcframework' s.resource_bundles = { 'BrazeLocation' => ['Sources/BrazeLocationResources/Resources/**/*'] } - # Depends on BrazeKit because BrazeKit includes the internal _BrazeLocationClient symbols required - # for linking against BrazeLocation. - s.dependency 'BrazeKit', '7.6.0' + s.dependency 'BrazeKit', '7.7.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeNotificationService.podspec b/BrazeNotificationService.podspec index 53d2a41766..36188e494d 100644 --- a/BrazeNotificationService.podspec +++ b/BrazeNotificationService.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeNotificationService' - s.version = '7.6.0' + s.version = '7.7.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/7.6.0/BrazeNotificationService.zip', - :sha256 => '74dc30eb807fe9f6a44b50da891e410f71843ff7262c0c242fd17c0e7f9d996e' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/7.7.0/BrazeNotificationService.zip', + :sha256 => '3908c6fa319e3a30ba1a808801ba747e55f1f13c8a2465f0d7e5eacc637926c0' } s.swift_version = '5.0' diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec index b35195e70d..0bef5c38cd 100644 --- a/BrazePushStory.podspec +++ b/BrazePushStory.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazePushStory' - s.version = '7.6.0' + s.version = '7.7.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/7.6.0/BrazePushStory.zip', - :sha256 => 'cb413c87cd0f990f936f96f8031e658d53d3ca709d60df6c2209b566e7588645' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/7.7.0/BrazePushStory.zip', + :sha256 => 'df675c4df8212b1c599c91b00d835fcf083bc285888d5da77ec40057b18e873d' } s.swift_version = '5.0' diff --git a/BrazeUI.podspec b/BrazeUI.podspec index 68de2bf6fe..12dbcb5dc9 100644 --- a/BrazeUI.podspec +++ b/BrazeUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUI' - s.version = '7.6.0' + s.version = '7.7.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 => '7.6.0' } + s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '7.7.0' } s.swift_version = '5.0' s.ios.deployment_target = '11.0' @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.resource_bundles = { 'BrazeUI' => ['Sources/BrazeUI/Resources/**/*'] } s.static_framework = true - s.dependency 'BrazeKit', '7.6.0' + s.dependency 'BrazeKit', '7.7.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeUICompat.podspec b/BrazeUICompat.podspec index b2b4a5c3cd..58e9b81d3c 100644 --- a/BrazeUICompat.podspec +++ b/BrazeUICompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUICompat' - s.version = '7.6.0' + s.version = '7.7.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 => '7.6.0' } + s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '7.7.0' } s.swift_version = '5.0' s.ios.deployment_target = '11.0' @@ -18,8 +18,8 @@ Pod::Spec.new do |s| s.resource_bundles = { 'BrazeUICompat' => 'Sources/BrazeUICompat/*/Resources/**/*.*' } s.static_framework = true - s.dependency 'BrazeKitCompat', '7.6.0' - s.dependency 'SDWebImage', '>= 5.8.2', '< 6' + s.dependency 'BrazeKitCompat', '7.7.0' + s.dependency 'SDWebImage', '>= 5.18.7', '< 6' s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' } s.pod_target_xcconfig = { diff --git a/CHANGELOG.md b/CHANGELOG.md index fcb78bb9fd..7d28f0b3c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## 7.7.0 + +##### Added +- Updates the prebuilt release assets to include the privacy manifest for manual integrations of SDWebImage. + - Follow the [manual integration guide](https://www.braze.com/docs/developer_guide/platform_integration_guides/swift/initial_sdk_setup/installation_methods/manual_integration/?tab=static) to add the `SDWebImage.bundle` to your project for static XCFrameworks. +- Enhances support for language localizations. + - Introduces a localization for Azerbaijani strings. + - Updates Ukrainian localization strings for accuracy. + +##### Fixed +- Fixes the default button placement for full in-app message views. +- Fixes an issue where setting `Braze.Configuration.Api.endpoint` to a URL with invalid characters could cause a crash. + - If the SDK is given an invalid endpoint, it will no longer attempt to make network requests and will instead log an error. +- Fixes an issue preventing `BrazeLocation` from working correctly when using the dynamic XCFrameworks. + ## 7.6.0 ##### Added @@ -111,6 +126,12 @@ - Set this field to `false` to prevent the Content Cards feed UI from adopting dark theme styling when the device is in dark mode. - This field is `true` by default. +## 6.6.2 + +##### Fixed +- Fixes an issue preventing purchase events from being logged when the product identifier has a leading dollar sign ($). +- Fixes an issue preventing custom attributes from being logged when the attribute key has a leading dollar sign ($). + ## 6.6.1 ##### Fixed diff --git a/Examples/ObjC/Examples-Manual.xcodeproj/project.pbxproj b/Examples/ObjC/Examples-Manual.xcodeproj/project.pbxproj index 069f4dcb15..a8a5cfa350 100644 --- a/Examples/ObjC/Examples-Manual.xcodeproj/project.pbxproj +++ b/Examples/ObjC/Examples-Manual.xcodeproj/project.pbxproj @@ -8,6 +8,7 @@ /* Begin PBXBuildFile section */ 02DC0031352875AEA57E016F /* Credentials.m in Sources */ = {isa = PBXBuildFile; fileRef = 300EE8F0E93BE17A2E191D94 /* Credentials.m */; }; + 03F471437ECF0E971EBD7791 /* SDWebImage.bundle in Resources */ = {isa = PBXBuildFile; fileRef = A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */; }; 068F5E18F0022F81800AC463 /* Credentials.m in Sources */ = {isa = PBXBuildFile; fileRef = 300EE8F0E93BE17A2E191D94 /* Credentials.m */; }; 072A33D2EC80958D06FC5029 /* BrazeKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE1AFA11EB03A5B1BEA614A2 /* BrazeKit.xcframework */; }; 09466A6F1F1FB9A4E3C5373F /* BrazeLocation.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CBF91DFBE0824E25FEE7BDC /* BrazeLocation.xcframework */; }; @@ -99,6 +100,7 @@ 7B7D7F43349E02D078DA4D91 /* ReadmeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C7CD7AB410DAB0417F872BA8 /* ReadmeViewController.m */; }; 7C6C57DBD8A366181DA6D41B /* Credentials.m in Sources */ = {isa = PBXBuildFile; fileRef = 300EE8F0E93BE17A2E191D94 /* Credentials.m */; }; 7D5527F1F20316E3E83F7534 /* BrazeKit.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 963312B05750D1D4DA77128F /* BrazeKit.bundle */; }; + 7FBBB1441AC127087D878C36 /* SDWebImage.bundle in Resources */ = {isa = PBXBuildFile; fileRef = A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */; }; 7FD09FECAD3A87ED5A1781B5 /* ReadmeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C7CD7AB410DAB0417F872BA8 /* ReadmeViewController.m */; }; 7FF1A44F5E57B887F707ECB6 /* CustomInAppMessagePresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 94150E2BB7ABD75FD0130D92 /* CustomInAppMessagePresenter.m */; }; 82090ABD22EA90EBE70FB6FF /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C8D7F1FE2EE80796BE4B2B76 /* main.m */; }; @@ -129,6 +131,7 @@ 9FA9D948525624B0203FC558 /* BRZGIFViewProvider+SDWebImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 87C1CF136D11D5168491F769 /* BRZGIFViewProvider+SDWebImage.m */; }; A1E8B7883D7845AC370E5F8B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C8D7F1FE2EE80796BE4B2B76 /* main.m */; }; A2464145E52DDEBAFD4725F2 /* Credentials.m in Sources */ = {isa = PBXBuildFile; fileRef = 300EE8F0E93BE17A2E191D94 /* Credentials.m */; }; + A3899B99283411D1D254D7B8 /* SDWebImage.bundle in Resources */ = {isa = PBXBuildFile; fileRef = A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */; }; A4A35CF95752F89B0C17D783 /* Credentials.m in Sources */ = {isa = PBXBuildFile; fileRef = 300EE8F0E93BE17A2E191D94 /* Credentials.m */; }; A6A947BFB3D1425AEA2542E4 /* empty-file.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3DEEEEC6C495A8FB90C87DF /* empty-file.swift */; }; A6FB7CA3CF50B16E10C22B2C /* PushNotificationsServiceExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = A9A04673678B1EEA9C7559C6 /* PushNotificationsServiceExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; @@ -169,6 +172,7 @@ DCA35F3923F60DC1D453E42C /* Credentials.m in Sources */ = {isa = PBXBuildFile; fileRef = 300EE8F0E93BE17A2E191D94 /* Credentials.m */; }; DE94AAA2B0E9BDF19C99418C /* NotAvailableInObjC.m in Sources */ = {isa = PBXBuildFile; fileRef = AE76D32E01BF5A7187E220F5 /* NotAvailableInObjC.m */; }; DFD058BEFA52610A862AABCC /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C8D7F1FE2EE80796BE4B2B76 /* main.m */; }; + E23BEBB47BCB32C0740CD6E1 /* SDWebImage.bundle in Resources */ = {isa = PBXBuildFile; fileRef = A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */; }; E6A3B78AB684D9B08A4F6B55 /* AuthenticationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 70C9AC9B199D50C1B6B422B3 /* AuthenticationManager.m */; }; E887494ABCDD317C782E1D7F /* NotificationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 533195F22A1588713AF533FD /* NotificationService.swift */; }; EAAE90780460DB91BC0C4590 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AEF0FF04032299A31D37CDE4 /* Assets.xcassets */; }; @@ -296,6 +300,7 @@ 99485A247A6D99729F74D785 /* AuthenticationManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AuthenticationManager.h; sourceTree = ""; }; A0E3CB930079E9D9B90575A1 /* ContentCards-Custom-UI.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = "ContentCards-Custom-UI.app"; sourceTree = BUILT_PRODUCTS_DIR; }; A3DEEEEC6C495A8FB90C87DF /* empty-file.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "empty-file.swift"; sourceTree = ""; }; + A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */ = {isa = PBXFileReference; lastKnownFileType = wrapper.cfbundle; name = SDWebImage.bundle; path = "braze-swift-sdk-prebuilt/bundle/SDWebImage.bundle"; sourceTree = ""; }; A91AF3B830B800D360D5B863 /* ReadmeViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ReadmeViewController.h; sourceTree = ""; }; A9A04673678B1EEA9C7559C6 /* PushNotificationsServiceExtension.appex */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "wrapper.app-extension"; path = PushNotificationsServiceExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; }; AE76D32E01BF5A7187E220F5 /* NotAvailableInObjC.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NotAvailableInObjC.m; sourceTree = ""; }; @@ -608,6 +613,7 @@ 963312B05750D1D4DA77128F /* BrazeKit.bundle */, EB8AF6AAFE01DAED72696307 /* BrazeLocation.bundle */, 85365B9C180AB9BA57FBD249 /* BrazeUI.bundle */, + A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */, ); name = Resources; sourceTree = ""; @@ -1092,6 +1098,7 @@ BF3E00BF746510504CA6D052 /* BrazeKit.bundle in Resources */, 87B56CCE5A48D906FC4EFEEA /* BrazeUI.bundle in Resources */, 9291C501BFC4FE0730068E24 /* LaunchScreen.storyboard in Resources */, + 7FBBB1441AC127087D878C36 /* SDWebImage.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1103,6 +1110,7 @@ 7B24B540AA7946B259E6355F /* BrazeKit.bundle in Resources */, BCDCB5A2B878D59CEC6F7A78 /* BrazeUI.bundle in Resources */, 88C413393B8A310612536576 /* LaunchScreen.storyboard in Resources */, + 03F471437ECF0E971EBD7791 /* SDWebImage.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1155,6 +1163,7 @@ 6C065226833B8EC7CCEEDA05 /* BrazeKit.bundle in Resources */, 1E91998ABF05E912E263E355 /* BrazeUI.bundle in Resources */, 74293EC038DEF0E76CC03171 /* LaunchScreen.storyboard in Resources */, + E23BEBB47BCB32C0740CD6E1 /* SDWebImage.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1166,6 +1175,7 @@ 1567A7107DAB82AA67FAEA45 /* BrazeKit.bundle in Resources */, C9A4905EA63DA015B0A4B30F /* BrazeUI.bundle in Resources */, 33C10978000DFE7956E68484 /* LaunchScreen.storyboard in Resources */, + A3899B99283411D1D254D7B8 /* SDWebImage.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Examples/ObjC/Examples-SwiftPM.xcodeproj/project.pbxproj b/Examples/ObjC/Examples-SwiftPM.xcodeproj/project.pbxproj index c30112c2cf..d8da8eb183 100644 --- a/Examples/ObjC/Examples-SwiftPM.xcodeproj/project.pbxproj +++ b/Examples/ObjC/Examples-SwiftPM.xcodeproj/project.pbxproj @@ -2365,7 +2365,7 @@ repositoryURL = "https://github.com/SDWebImage/SDWebImage"; requirement = { kind = upToNextMajorVersion; - minimumVersion = 5.12.5; + minimumVersion = 5.18.7; }; }; /* End XCRemoteSwiftPackageReference 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 b6bd339f88..127dd6a734 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/7.6.0/braze-swift-sdk-prebuilt.zip" +url="https://github.com/braze-inc/braze-swift-sdk/releases/download/7.7.0/braze-swift-sdk-prebuilt.zip" echo "→" "Cleaning up" rm -rf braze-swift-sdk-prebuilt diff --git a/Examples/Swift/Examples-Manual.xcodeproj/project.pbxproj b/Examples/Swift/Examples-Manual.xcodeproj/project.pbxproj index 912336ca05..e72a591df5 100644 --- a/Examples/Swift/Examples-Manual.xcodeproj/project.pbxproj +++ b/Examples/Swift/Examples-Manual.xcodeproj/project.pbxproj @@ -8,6 +8,7 @@ /* Begin PBXBuildFile section */ 0259D084689AD80BFC8DE736 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52B2A24F812A684E253E1C55 /* AppDelegate.swift */; }; + 03F471437ECF0E971EBD7791 /* SDWebImage.bundle in Resources */ = {isa = PBXBuildFile; fileRef = A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */; }; 066576DFE4BB39A709D6A3FB /* MockImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07DE243578DBC5FA4DF8237E /* MockImage.swift */; }; 06B41135C711D26296E4CB72 /* Credentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01CEC1A3A03568BC7B5FB442 /* Credentials.swift */; }; 072A33D2EC80958D06FC5029 /* BrazeKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE1AFA11EB03A5B1BEA614A2 /* BrazeKit.xcframework */; }; @@ -92,6 +93,7 @@ 7C6F4B321756F30FED4BB723 /* MockImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07DE243578DBC5FA4DF8237E /* MockImage.swift */; }; 7CD998189812894295F6F844 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4F7E5A96D302B8CA3D7FCE5 /* AppDelegate.swift */; }; 7D5527F1F20316E3E83F7534 /* BrazeKit.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 963312B05750D1D4DA77128F /* BrazeKit.bundle */; }; + 7FBBB1441AC127087D878C36 /* SDWebImage.bundle in Resources */ = {isa = PBXBuildFile; fileRef = A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */; }; 80D76FBA9061A2055BF5009F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 239CF1158BD0D1AB82866793 /* AppDelegate.swift */; }; 81CE6E9D873143D9C328D0BE /* Credentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01CEC1A3A03568BC7B5FB442 /* Credentials.swift */; }; 82291C88BF7808FB1117C89F /* Credentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01CEC1A3A03568BC7B5FB442 /* Credentials.swift */; }; @@ -117,6 +119,7 @@ 9D7F560F409C217BE1D6C9C7 /* PushNotificationsContentExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 334A021F30FF4114F75E59A1 /* PushNotificationsContentExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; A11C816BE6C7F8508374868B /* Readme.swift in Sources */ = {isa = PBXBuildFile; fileRef = 970FEBFCFF80A684AD29EE90 /* Readme.swift */; }; A1A6B333C3F62EF0CBB0BE07 /* MockImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07DE243578DBC5FA4DF8237E /* MockImage.swift */; }; + A3899B99283411D1D254D7B8 /* SDWebImage.bundle in Resources */ = {isa = PBXBuildFile; fileRef = A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */; }; A5171A5ECEC1421B76E99848 /* SDWebImageGIFViewProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FFD57A976BE8350B2E0529C /* SDWebImageGIFViewProvider.swift */; }; A57A0617A5F07E9CC514F61D /* MockImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07DE243578DBC5FA4DF8237E /* MockImage.swift */; }; A6F37B2852E206D341A4BB1B /* Credentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01CEC1A3A03568BC7B5FB442 /* Credentials.swift */; }; @@ -162,6 +165,7 @@ D9CD1E725F9A4AC2B1F4B6DC /* ReadmeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0617474A1F534AFBE702090C /* ReadmeViewController.swift */; }; DA47B24FA215F807B70B8D4C /* BrazeUI.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF2ED58955148E8CDC8E8666 /* BrazeUI.xcframework */; }; DD480CDAB38AD655EEA3B5EF /* Credentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01CEC1A3A03568BC7B5FB442 /* Credentials.swift */; }; + E23BEBB47BCB32C0740CD6E1 /* SDWebImage.bundle in Resources */ = {isa = PBXBuildFile; fileRef = A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */; }; E6DF2E44081D08C690C2FC49 /* SDWebImageGIFViewProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A4F7F81F66CDA13C9604FDA /* SDWebImageGIFViewProvider.swift */; }; E887494ABCDD317C782E1D7F /* NotificationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 533195F22A1588713AF533FD /* NotificationService.swift */; }; EAAE90780460DB91BC0C4590 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AEF0FF04032299A31D37CDE4 /* Assets.xcassets */; }; @@ -281,6 +285,7 @@ 9D34CFD4F0F28B78BD6C416B /* Readme.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Readme.swift; sourceTree = ""; }; A0E3CB930079E9D9B90575A1 /* ContentCards-Custom-UI.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = "ContentCards-Custom-UI.app"; sourceTree = BUILT_PRODUCTS_DIR; }; A44AB6CF753C2512EA4D110C /* AuthenticationManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthenticationManager.swift; sourceTree = ""; }; + A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */ = {isa = PBXFileReference; lastKnownFileType = wrapper.cfbundle; name = SDWebImage.bundle; path = "braze-swift-sdk-prebuilt/bundle/SDWebImage.bundle"; sourceTree = ""; }; A5256781FE6611430C077175 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; A9A04673678B1EEA9C7559C6 /* PushNotificationsServiceExtension.appex */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "wrapper.app-extension"; path = PushNotificationsServiceExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; }; AC126939B2257D75B5DEDC4E /* InAppMessageInfoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InAppMessageInfoViewController.swift; sourceTree = ""; }; @@ -597,6 +602,7 @@ 963312B05750D1D4DA77128F /* BrazeKit.bundle */, EB8AF6AAFE01DAED72696307 /* BrazeLocation.bundle */, 85365B9C180AB9BA57FBD249 /* BrazeUI.bundle */, + A4862669D8E8CC116B81CDB2 /* SDWebImage.bundle */, ); name = Resources; sourceTree = ""; @@ -1083,6 +1089,7 @@ BF3E00BF746510504CA6D052 /* BrazeKit.bundle in Resources */, 87B56CCE5A48D906FC4EFEEA /* BrazeUI.bundle in Resources */, 9291C501BFC4FE0730068E24 /* LaunchScreen.storyboard in Resources */, + 7FBBB1441AC127087D878C36 /* SDWebImage.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1094,6 +1101,7 @@ 7B24B540AA7946B259E6355F /* BrazeKit.bundle in Resources */, BCDCB5A2B878D59CEC6F7A78 /* BrazeUI.bundle in Resources */, 88C413393B8A310612536576 /* LaunchScreen.storyboard in Resources */, + 03F471437ECF0E971EBD7791 /* SDWebImage.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1146,6 +1154,7 @@ 6C065226833B8EC7CCEEDA05 /* BrazeKit.bundle in Resources */, 1E91998ABF05E912E263E355 /* BrazeUI.bundle in Resources */, 74293EC038DEF0E76CC03171 /* LaunchScreen.storyboard in Resources */, + E23BEBB47BCB32C0740CD6E1 /* SDWebImage.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1157,6 +1166,7 @@ 1567A7107DAB82AA67FAEA45 /* BrazeKit.bundle in Resources */, C9A4905EA63DA015B0A4B30F /* BrazeUI.bundle in Resources */, 33C10978000DFE7956E68484 /* LaunchScreen.storyboard in Resources */, + A3899B99283411D1D254D7B8 /* SDWebImage.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Examples/Swift/Examples-SwiftPM.xcodeproj/project.pbxproj b/Examples/Swift/Examples-SwiftPM.xcodeproj/project.pbxproj index 98c2739c26..6cd76c313f 100644 --- a/Examples/Swift/Examples-SwiftPM.xcodeproj/project.pbxproj +++ b/Examples/Swift/Examples-SwiftPM.xcodeproj/project.pbxproj @@ -2351,7 +2351,7 @@ repositoryURL = "https://github.com/SDWebImage/SDWebImage"; requirement = { kind = upToNextMajorVersion; - minimumVersion = 5.12.5; + minimumVersion = 5.18.7; }; }; /* End XCRemoteSwiftPackageReference 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 b6bd339f88..127dd6a734 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/7.6.0/braze-swift-sdk-prebuilt.zip" +url="https://github.com/braze-inc/braze-swift-sdk/releases/download/7.7.0/braze-swift-sdk-prebuilt.zip" echo "→" "Cleaning up" rm -rf braze-swift-sdk-prebuilt diff --git a/Package.swift b/Package.swift index b1afb1f327..80a1b89fe6 100644 --- a/Package.swift +++ b/Package.swift @@ -41,15 +41,15 @@ let package = Package( ), ], dependencies: [ - .package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.13.2"), + .package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.18.7"), /* ${dependencies-start} */ /* ${dependencies-end} */ ], targets: [ .binaryTarget( name: "BrazeKit", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.6.0/BrazeKit.zip", - checksum: "21d77f95fdcffe5bc614bd65d4bd99afd6a7429f40d26401a61e47dc3aad0c32" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.7.0/BrazeKit.zip", + checksum: "37da22d8db48da998da446cf125812a401b2a31430be7f613b7b3d22ac125084" ), .target( name: "BrazeKitResources", @@ -66,8 +66,8 @@ let package = Package( ), .binaryTarget( name: "BrazeLocation", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.6.0/BrazeLocation.zip", - checksum: "32eb6d7c2ca426ec4f62ad41c6d3db4dfce0d6eab4c87e4336bb18270e73d1e8" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.7.0/BrazeLocation.zip", + checksum: "a7e2269f824c92a53f2ed8e4e67dc9c70d5ec0f4a247cb4e1d66d2ca7e6d227f" ), .target( name: "BrazeLocationResources", @@ -77,13 +77,13 @@ let package = Package( ), .binaryTarget( name: "BrazeNotificationService", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.6.0/BrazeNotificationService.zip", - checksum: "74dc30eb807fe9f6a44b50da891e410f71843ff7262c0c242fd17c0e7f9d996e" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.7.0/BrazeNotificationService.zip", + checksum: "3908c6fa319e3a30ba1a808801ba747e55f1f13c8a2465f0d7e5eacc637926c0" ), .binaryTarget( name: "BrazePushStory", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.6.0/BrazePushStory.zip", - checksum: "cb413c87cd0f990f936f96f8031e658d53d3ca709d60df6c2209b566e7588645" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.7.0/BrazePushStory.zip", + checksum: "df675c4df8212b1c599c91b00d835fcf083bc285888d5da77ec40057b18e873d" ), .target( name: "BrazeKitCompat", diff --git a/README.md b/README.md index c4d6bc0f2f..c9297dc9a6 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- Version: 7.6.0 + Version: 7.7.0