diff --git a/AppboyKit/Appboy.bundle/PrivacyInfo.xcprivacy b/AppboyKit/Appboy.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..91cbba1 --- /dev/null +++ b/AppboyKit/Appboy.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,100 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeUserID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeProductPersonalization + NSPrivacyCollectedDataTypePurposeAnalytics + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeDeviceID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeProductPersonalization + NSPrivacyCollectedDataTypePurposeAnalytics + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeProductInteraction + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeProductPersonalization + NSPrivacyCollectedDataTypePurposeAnalytics + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypePreciseLocation + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeProductPersonalization + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeCoarseLocation + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeProductPersonalization + NSPrivacyCollectedDataTypePurposeAnalytics + + + + + diff --git a/AppboyKit/Appboy.bundle/_CodeSignature/CodeDirectory b/AppboyKit/Appboy.bundle/_CodeSignature/CodeDirectory index fccb5cd..4471b6d 100644 Binary files a/AppboyKit/Appboy.bundle/_CodeSignature/CodeDirectory and b/AppboyKit/Appboy.bundle/_CodeSignature/CodeDirectory differ diff --git a/AppboyKit/Appboy.bundle/_CodeSignature/CodeRequirements-1 b/AppboyKit/Appboy.bundle/_CodeSignature/CodeRequirements-1 index 85f2034..3758030 100644 Binary files a/AppboyKit/Appboy.bundle/_CodeSignature/CodeRequirements-1 and b/AppboyKit/Appboy.bundle/_CodeSignature/CodeRequirements-1 differ diff --git a/AppboyKit/Appboy.bundle/_CodeSignature/CodeResources b/AppboyKit/Appboy.bundle/_CodeSignature/CodeResources index 2f81f07..59664f8 100644 --- a/AppboyKit/Appboy.bundle/_CodeSignature/CodeResources +++ b/AppboyKit/Appboy.bundle/_CodeSignature/CodeResources @@ -4,6 +4,10 @@ files + PrivacyInfo.xcprivacy + + 35537WDlOfHuEOldTrUa7OmzNwQ= + ZipArchive_LICENSE.txt JbmSdiuxe/Zs/esUY7pUvV4byF4= @@ -348,6 +352,17 @@ files2 + PrivacyInfo.xcprivacy + + hash + + 35537WDlOfHuEOldTrUa7OmzNwQ= + + hash2 + + vz81m6KH2HKZHoLSODBrzGNp/+lfzoLblqWy7rtuvpI= + + ZipArchive_LICENSE.txt hash diff --git a/AppboyKit/Appboy.bundle/_CodeSignature/CodeSignature b/AppboyKit/Appboy.bundle/_CodeSignature/CodeSignature index db3f21c..3749125 100644 Binary files a/AppboyKit/Appboy.bundle/_CodeSignature/CodeSignature and b/AppboyKit/Appboy.bundle/_CodeSignature/CodeSignature differ diff --git a/AppboyKit/include/Appboy.h b/AppboyKit/include/Appboy.h index 04f2496..cd0bcc7 100644 --- a/AppboyKit/include/Appboy.h +++ b/AppboyKit/include/Appboy.h @@ -15,7 +15,7 @@ #import "ABKSdkMetadata.h" #ifndef APPBOY_SDK_VERSION -#define APPBOY_SDK_VERSION @"4.6.0" +#define APPBOY_SDK_VERSION @"4.7.0" #endif #if !TARGET_OS_TV @@ -435,7 +435,7 @@ typedef NS_ENUM(NSInteger, ABKChannel) { * @param userId The new user's ID (from the host application) * @param signature The SDK Authentication signature for the user being identified. * - * @discussion See documantation for `changeUser:` above + * @discussion See documantation for `changeUser:` above */ - (void)changeUser:(NSString *)userId sdkAuthSignature:(nullable NSString *)signature; diff --git a/AppboyUI/ABKInAppMessage/ViewControllers/ABKInAppMessageFullViewController.m b/AppboyUI/ABKInAppMessage/ViewControllers/ABKInAppMessageFullViewController.m index c2a3061..ab95087 100755 --- a/AppboyUI/ABKInAppMessage/ViewControllers/ABKInAppMessageFullViewController.m +++ b/AppboyUI/ABKInAppMessage/ViewControllers/ABKInAppMessageFullViewController.m @@ -108,7 +108,7 @@ - (void)loadView { [attributedStringHeader addAttribute:NSParagraphStyleAttributeName value:headerStyle range:NSMakeRange(0, ((ABKInAppMessageImmersive *)self.inAppMessage).header.length)]; - self.inAppMessageMessageLabel.attributedText = attributedStringHeader; + self.inAppMessageHeaderLabel.attributedText = attributedStringHeader; } } } diff --git a/AppboyUI/ABKInAppMessage/ViewControllers/ABKInAppMessageModalViewController.m b/AppboyUI/ABKInAppMessage/ViewControllers/ABKInAppMessageModalViewController.m index 2b5e3a7..29adf8e 100755 --- a/AppboyUI/ABKInAppMessage/ViewControllers/ABKInAppMessageModalViewController.m +++ b/AppboyUI/ABKInAppMessage/ViewControllers/ABKInAppMessageModalViewController.m @@ -125,7 +125,7 @@ - (void)loadView { [attributedStringHeader addAttribute:NSParagraphStyleAttributeName value:headerStyle range:NSMakeRange(0, ((ABKInAppMessageImmersive *)self.inAppMessage).header.length)]; - self.inAppMessageMessageLabel.attributedText = attributedStringHeader; + self.inAppMessageHeaderLabel.attributedText = attributedStringHeader; } } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 70c1233..045e620 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,17 @@ -#### ⚠️ The New Braze [Swift SDK](https://github.com/braze-inc/braze-swift-sdk) is now available! +#### ⚠️ The New Braze [Swift SDK](https://github.com/braze-inc/braze-swift-sdk) is now available! + +## 4.7.0 + +#### Breaking +- Updates the minimum required version of SDWebImage from 5.8.2 to [5.18.7](https://github.com/SDWebImage/SDWebImage/releases/tag/5.18.7). + - This version includes the privacy manifest for SDWebImage, which appears on the [privacy-impacting SDKs list](https://developer.apple.com/support/third-party-SDK-requirements/). + +#### Added +- Adds the privacy manifest to describe data usage collected by Braze. For more details, refer to the [Apple documentation on privacy manifests](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files). +- Adds code signatures to all XCFrameworks in the Braze iOS SDK, signed by `Braze, Inc.`. + +##### Fixed +- Fixes an issue in Full or Modal in-app messages where the header text would be duplicated in place of the body text under certain conditions. ## 4.6.0 @@ -69,7 +82,7 @@ This release requires Xcode `14.x`. - Fixes an issue introduced in `4.3.2` and limited to users of `Appboy-tvOS-SDK`, which prevented custom events with properties or purchases with properties from being logged. ##### Added -- Adds a `padding` property to `ABKCaptionedImageContentCardCell` to support modifying the default value. +- Adds a `padding` property to `ABKCaptionedImageContentCardCell` to support modifying the default value. ## 4.4.2 @@ -159,7 +172,7 @@ This release requires Xcode 13. - Deprecates `ABKInAppMessageController`'s method `displayNextInAppMessageWithDelegate:` in favor of `displayNextInAppMessage`. ##### Added -- Custom events and purchases now support nested properties. +- Custom events and purchases now support nested properties. - In addition to integers, floats, booleans, dates, or strings, a JSON object can be provided containing dictionaries of arrays or nested dictionaries. All properties combined can be up to 50 KB in total length. ## 4.3.0 diff --git a/Package.swift b/Package.swift index 117d0da..42afa5a 100644 --- a/Package.swift +++ b/Package.swift @@ -14,13 +14,13 @@ let package = Package( .library(name: "AppboyPushStory", targets: ["AppboyPushStory"]) ], dependencies: [ - .package(name: "SDWebImage", url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.8.2") + .package(name: "SDWebImage", url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.18.7") ], targets: [ .binaryTarget( name: "AppboyKitLibrary", - url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/4.6.0/AppboyKitLibrary.xcframework.zip", - checksum: "c3664cdcd07a9f9d451e532578d2d1b86272d10a9328826823281dd1f286dbfe" + url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/4.7.0/AppboyKitLibrary.xcframework.zip", + checksum: "1b05630bf08affc7944f4cb206fab41dc176aa0ca6ff76fd81718f83691b04dc" ), .target( name: "AppboyKit", @@ -53,8 +53,8 @@ let package = Package( ), .binaryTarget( name: "AppboyPushStoryFramework", - url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/4.6.0/AppboyPushStoryFramework.xcframework.zip", - checksum: "7422dfcf60052110a0bac856901be698cb7e48336aad3fa0dcaaf3c52a1f6368" + url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/4.7.0/AppboyPushStoryFramework.xcframework.zip", + checksum: "989ddc65ac05faf64df4ab0bb96bd8a34c69730c54e90487ab9eb9d89aed2b1c" ), .target( name: "AppboyPushStory",