Skip to content

Commit

Permalink
Updating Braze SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
hokstuff committed Feb 8, 2024
1 parent 0104aec commit a3511ca
Show file tree
Hide file tree
Showing 10 changed files with 140 additions and 12 deletions.
100 changes: 100 additions & 0 deletions AppboyKit/Appboy.bundle/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeUserID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypePreciseLocation</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCoarseLocation</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
</array>
</dict>
</plist>
Binary file modified AppboyKit/Appboy.bundle/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/_CodeSignature/CodeRequirements-1
Binary file not shown.
15 changes: 15 additions & 0 deletions AppboyKit/Appboy.bundle/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<dict>
<key>files</key>
<dict>
<key>PrivacyInfo.xcprivacy</key>
<data>
35537WDlOfHuEOldTrUa7OmzNwQ=
</data>
<key>ZipArchive_LICENSE.txt</key>
<data>
JbmSdiuxe/Zs/esUY7pUvV4byF4=
Expand Down Expand Up @@ -348,6 +352,17 @@
</dict>
<key>files2</key>
<dict>
<key>PrivacyInfo.xcprivacy</key>
<dict>
<key>hash</key>
<data>
35537WDlOfHuEOldTrUa7OmzNwQ=
</data>
<key>hash2</key>
<data>
vz81m6KH2HKZHoLSODBrzGNp/+lfzoLblqWy7rtuvpI=
</data>
</dict>
<key>ZipArchive_LICENSE.txt</key>
<dict>
<key>hash</key>
Expand Down
Binary file modified AppboyKit/Appboy.bundle/_CodeSignature/CodeSignature
Binary file not shown.
4 changes: 2 additions & 2 deletions AppboyKit/include/Appboy.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down
19 changes: 16 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit a3511ca

Please sign in to comment.