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 ownUISceneDelegateusing a custom application delegate or use aBatchDeeplinkDelegate.
User
- Added method
[BatchUserDataEditor setEmail:]. This requires to have a user identifer registered or to call thesetIdentifiermethod on the editor instance beforehand. - Added
[BatchUserDataEditor setEmailMarketingSubscriptionState:]method to subscribe to the email marketing list.
Inbox
- Added the ability to know if a
BatchPushMessagehas been displayed from the inbox via theisDisplayedFromInboxproperty. - Added the ability to know if a notification has a landing message attached on
BatchInboxNotificationContentusing thehasLandingMessage()method. - Added the ability to display a landing message attached to a
BatchInboxNotificationContentusing 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
SFSafariViewControlleras it should not be hidden or obscured by other views or layers.