Skip to content

Commit

Permalink
Updating Braze SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
hokstuff committed Oct 12, 2023
1 parent 538e372 commit 0104aec
Show file tree
Hide file tree
Showing 12 changed files with 53 additions and 8 deletions.
Binary file modified AppboyKit/Appboy.bundle/Info.plist
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/_CodeSignature/CodeRequirements
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>ZipArchive_LICENSE.txt</key>
<data>
JbmSdiuxe/Zs/esUY7pUvV4byF4=
</data>
<key>appboy-spm-cleanup.sh</key>
<data>
O3UfCL3lKKMB/+splkNXf6zYbbU=
Expand Down Expand Up @@ -344,6 +348,17 @@
</dict>
<key>files2</key>
<dict>
<key>ZipArchive_LICENSE.txt</key>
<dict>
<key>hash</key>
<data>
JbmSdiuxe/Zs/esUY7pUvV4byF4=
</data>
<key>hash2</key>
<data>
j7CoF6NtgM8sSqLkZ/syPjE4TgZL0oOqy+1tPp5ip/M=
</data>
</dict>
<key>appboy-spm-cleanup.sh</key>
<dict>
<key>hash</key>
Expand Down
Binary file modified AppboyKit/Appboy.bundle/_CodeSignature/CodeSignature
Binary file not shown.
6 changes: 4 additions & 2 deletions AppboyKit/include/ABKInAppMessageControllerDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ NS_ASSUME_NONNULL_BEGIN
* ABKDisplayInAppMessageNow - The in-app message will be displayed immediately.
* ABKDisplayInAppMessageLater - The in-app message will be not be displayed and will be placed back onto the top of the stack.
* ABKDiscardInAppMessage - The in-app message will be discarded and will not be displayed.
* ABKReenqueueInAppMessage - The in-app message will not be displayed and all trigger times and re-eligibility will rollback as if the trigger never occurred.
*
* The following conditions can cause a in-app message to be offered to the delegate defined by the delegate property on
* [Appboy sharedInstance].inAppMessageController:
Expand All @@ -20,7 +21,8 @@ NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, ABKInAppMessageDisplayChoice) {
ABKDisplayInAppMessageNow,
ABKDisplayInAppMessageLater,
ABKDiscardInAppMessage
ABKDiscardInAppMessage,
ABKReenqueueInAppMessage,
};

typedef NS_ENUM(NSInteger, ABKTriggerEventType) {
Expand Down Expand Up @@ -64,7 +66,7 @@ typedef NS_ENUM(NSInteger, ABKTriggerEventType) {
* For details refer to the documentation regarding the ENUM ABKInAppMessageDisplayChoice above.
* Logging a control message impression is an equivalent of displaying the message, except that no actual display occurs.
*
* This delegate method defines the timing of when the control in-app message impression event should be logged: now, later, or discarded.
* This delegate method defines the timing of when the control in-app message impression event should be logged: now, later, discarded, or re-enqueued.
* Logging a control message impression is an equivalent of displaying the message, except that no actual display occurs.
*
* If there are situations where you would not want the control in-app message impression to be logged, you can use this delegate to delay
Expand Down
2 changes: 1 addition & 1 deletion 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.5.4"
#define APPBOY_SDK_VERSION @"4.6.0"
#endif

#if !TARGET_OS_TV
Expand Down
Binary file modified AppboyPushStory/Resources/ABKPageView.nib
Binary file not shown.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
#### ⚠️ The New Braze [Swift SDK](https://github.com/braze-inc/braze-swift-sdk) is now available!

## 4.6.0

This release requires Xcode `14.x`.

#### Breaking
- Drops support for iOS 9 and iOS 10.
- Removes support for the outdated `.framework` assets when importing via Carthage in favor of the modern `.xcframework` assets.
- Use the command `carthage update --use-xcframeworks` to import the appropriate Braze asset.
- Removes support for `appboy_ios_sdk_full.json` in favor of using `appboy_ios_sdk.json` by including these lines in your `Cartfile`:
```
binary "https://raw.githubusercontent.com/Appboy/appboy-ios-sdk/master/appboy_ios_sdk.json"
github "SDWebImage/SDWebImage"
```
##### Fixed
- Improves resilience when triggering in-app messages with date property filters.
##### Added
- Adds a new option `ABKReenqueueInAppMessage` to enum `ABKInAppMessageDisplayChoice`.
- Return this option in `beforeInAppMessageDisplayed:` of an `ABKInAppMessageControllerDelegate` to ensure that an in-app message is not displayed and becomes eligible to trigger again.
- This option will reset any trigger times and re-eligibility rules as if it was never triggered. It will not add the message to the in-app message stack.
## 4.5.4
##### Fixed
Expand Down
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "AppboyKitLibrary",
url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/4.5.4/AppboyKitLibrary.xcframework.zip",
checksum: "dd5e2b70e4832ee84be03e094409b122745e10846649416c3ac6754829fdac0f"
url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/4.6.0/AppboyKitLibrary.xcframework.zip",
checksum: "c3664cdcd07a9f9d451e532578d2d1b86272d10a9328826823281dd1f286dbfe"
),
.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.5.4/AppboyPushStoryFramework.xcframework.zip",
checksum: "b88f4e1306d3111b47ae9fb88d267557e41463470330cfe98ae4619096776ee5"
url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/4.6.0/AppboyPushStoryFramework.xcframework.zip",
checksum: "7422dfcf60052110a0bac856901be698cb7e48336aad3fa0dcaaf3c52a1f6368"
),
.target(
name: "AppboyPushStory",
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
### ⚠ The new [Braze Swift SDK](https://github.com/braze-inc/braze-swift-sdk) is now available!

The Appboy iOS SDK (Objective-C SDK) is no longer in active development. All new iOS features Braze releases, like Live Activities and Feature Flags, will only be supported on the [Swift SDK](https://github.com/braze-inc/braze-swift-sdk). Any further updates the Appboy iOS SDK receives will only address security or critical bugs. After March 1, 2024 this repository will no longer be maintained.

See [our blog post](https://www.braze.com/resources/articles/introducing-the-new-braze-swift-sdk) for more information.

</br>

<img src="https://github.com/Appboy/appboy-ios-sdk/blob/master/braze-logo.png" width="300" title="Braze Logo" />
Expand All @@ -24,7 +28,9 @@ Please use this repo when integrating via Swift Package Manager to ensure optima

## Version Support

The iOS SDK supports iOS 9.0+.
- The iOS SDK supports iOS `11.0`+.
- This SDK is built using Xcode `14.2`.
- SDK versions prior to `4.6.0` were built with Xcode `13.x` or older.

## Questions?

Expand Down

0 comments on commit 0104aec

Please sign in to comment.