1.20.0
Compiles with Xcode 14.3.1
Batch requires Xcode 14.3.1 and iOS 11.0 or higher
Note: Due to Xcode 15 dropping support for iOS 11.0, this is the last minor version supporting iOS 11.
Core
- Fixed Universal Links not triggering SwiftUI's'
onOpenUrl
(iOS 14+). For iOS 13, implement your ownUISceneDelegate
using a custom application delegate or use aBatchDeeplinkDelegate
.
User
- Added method
[BatchUserDataEditor setEmail:]
. This requires to have a user identifer registered or to call thesetIdentifier
method on the editor instance beforehand. - Added
[BatchUserDataEditor setEmailMarketingSubscriptionState:]
method to subscribe to the email marketing list.
Inbox
- Added the ability to know if a
BatchPushMessage
has been displayed from the inbox via theisDisplayedFromInbox
property. - Added the ability to know if a notification has a landing message attached on
BatchInboxNotificationContent
using thehasLandingMessage()
method. - Added the ability to display a landing message attached to a
BatchInboxNotificationContent
using thedisplayLandingMessage()
method.
Messaging
- Added support for Dynamic Type allowing Batch to adapt textual content to honor the user's font size settings. This is enabled by default, you can disable it at any moment by using
[BatchMessaging setEnableDynamicType:false]
. - In-Apps Banner no longer displays when the presented view controller is an
SFSafariViewController
as it should not be hidden or obscured by other views or layers.