Releases: Appboy/appboy-ios-sdk
Releases · Appboy/appboy-ios-sdk
4.0.1
4.0.0
Breaking
AppboyKit
is now distributed as an XCFramework when integrating with Cocoapods. Cocoapods 1.10.0+ is required.- This removes the need for integrators to exclude the
arm64
architecture when building for the simulator. Please undo any of the changes that may have been made when upgrading to 3.27.0 (Integrators will now be required to exclude ...).
- This removes the need for integrators to exclude the
Fixed
- Fixes the Swift Package Manager cleanup script to remove only the necessary files.
Added
- Adds Mac Catalyst support for apps integrating with Cocoapods.
3.34.0
Breaking
- Replaces
ABKInAppMessageSlideupViewController
'sslideConstraint
byoffset
.
Added
- Adds a new Github repo to optimize import speeds for applications integrating with Swift Package Manager.
- To use this repo, follow these steps:
- Remove the existing package in your application that points to the url:
https://github.com/Appboy/Appboy-ios-sdk
. - Add a new package using the new url:
https://github.com/braze-inc/braze-ios-sdk
. - Follow the rest of the setup instructions here.
- Remove the existing package in your application that points to the url:
- To use this repo, follow these steps:
- Adds support for Right-to-Left languages in the News Feed.
- Adds support for scaling fonts automatically with Dynamic Type for in-app messages and the News Feed.
Changed
- Improves accessibility handling for modal and full in-app messages.
- Improves Slideup in-app message animations.
3.33.1
3.33.0
Important If you are integrating Push Stories via CocoaPods and are setting use_framework!
in your Podfile, you must add -ObjC
to the Build Setting Other Linker Flags of your notification content extension.
Breaking
- Changed Push Story integration to use XCFrameworks for Cocoapods and manual integration. Applications currently integrating Push Stories via Cocoapods or manual integration must follow these steps when updating:
- In your Notification Content Extension target:
- Remove
AppboyPushStory.framework
fromFrameworks and Libraries
under theGeneral
tab.
- Remove
- In your application target:
- Delete the
Copy File
build phase copying theAppboyPushStory.framework
to theFrameworks
destination. - Delete the
Run Script
build phase that starts with:
- Delete the
- In your Notification Content Extension target:
APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
find "$APP_PATH" -name 'AppboyPushStory.framework' -type d | while read -r FRAMEWORK
...
- Removed
ABKSDWebImageProxy
'sprefetchURLs:
method.
Fixed
- Fixes a double redirection bug in Push Stories when the app is in a terminated state and the
UNUserNotificationCenter
delegate is not theAppDelegate
.
3.32.0
Added
- Adds Mac Catalyst support for apps integrating with Swift Package Manager (SPM).
- Please follow the instructions here to import the SDK with SPM. The SDK does not currently support Mac Catalyst when integrated through Cocoapods or Carthage.
- To add Mac Catalyst support, update the
Run Script Action
described in the 3.31.0 section of the Changelog.- Replace the existing script with the following:
# iOS bash "$BUILT_PRODUCTS_DIR/Appboy_iOS_SDK_AppboyKit.bundle/Appboy.bundle/appboy-spm-cleanup.sh" # macOS bash "$BUILT_PRODUCTS_DIR/Appboy_iOS_SDK_AppboyKit.bundle/Contents/Resources/Appboy.bundle/appboy-spm-cleanup.sh"
- Replace the existing script with the following:
3.31.2
3.31.1
3.31.1
Breaking
- Removes the method
getSDWebImageProxyClass
fromABKUIUtils
.- You can access the public class
ABKSDWebImageProxy
directly by importingABKSDWebImageProxy.h
.
- You can access the public class
Fixed
- Fixes a bug in the Cocoapods integration that would lead to SDK localizations being embedded for languages not explicitly supported in the app.
- Fixes a rare crash that would occur when no windows exist at
UIWindowLevelNormal
while an in-app message is being displayed andUIKit
requests UI updates (orientation change, etc.). - Fixes a bug in modal in-app messages where some languages (such as Burmese) may have clipped text.
3.31.0
3.31.0
Breaking
- Clients integrating via Swift Package Manager must perform the following steps:
- In the Xcode menu, click
Product > Scheme > Edit Scheme...
- Click the expand
▶️ next toBuild
and selectPost-actions
. Press+
and selectNew Run Script Action
. - In the dropdown next to
Provide build settings from
, select your app's target. - Copy this script into the open field:
bash "$BUILT_PRODUCTS_DIR/Appboy_iOS_SDK_AppboyKit.bundle/Appboy.bundle/appboy-spm-cleanup.sh"
- Click the expand
- If you are updating from 3.29.0 or 3.29.1, you can remove the
Run Script Action
previously specified in the 3.29.0 section of this changelog.
- In the Xcode menu, click
Added
- Adds support for Push Stories integration via Swift Package Manager.
- In your app content extension's target, under
Build Settings > Other Linker Flags
, add the-ObjC
linker flag.
- In your app content extension's target, under
Changed
- Updates the email validation on the SDK to be more lenient in favor of more accurate validation by the Braze backend. Valid emails with uncommon patterns or international characters that were previously rejected will now be accepted.
- Deprecates
ABKDeviceWhitelistKey
in favor ofABKDeviceAllowlistKey
.
Fixed
- Fixes a bug in HTML in-app messages where some native WebKit UI elements could be unresponsive.
4.0.0-beta1
4.0.0-beta1
This beta is not compatible with Carthage.
Breaking
AppboyKit
is now distributed as an XCFramework when integrating with Cocoapods. Cocoapods 1.10.0+ is required.- This removes the need for integrators to exclude the
arm64
architecture when building for the simulator. Please undo any of the changes that may have been made when upgrading to 3.27.0.
- This removes the need for integrators to exclude the