Releases: BatchLabs/Batch-iOS-SDK
3.0.3
3.0.2
Compiles with Xcode 16.3
Batch requires Xcode 16.3 and iOS 15.0 or higher
Core
- Important Xcode 26 warning: We have had reports of the SDK failing to pass App Store/Testflight validation due to the presence of an arm64e slice compiled with the iOS 18 SDK. Therefore, we removed the arm64e slice for the time being, planning to reintroduce it at a later date when we can compile with a stable iOS 26 SDK. Please contact our support team if this is a problem for you.
Messaging
- Fixed an issue where In-App messages might not display during NEW SESSION events.
1.21.3
1.21.2
Compiles with Xcode 15.1
Batch requires Xcode 15.1 and iOS 12.0 or higher
Core
- Re-release of 1.21.1 due to a build script issue.
2.1.1
Compiles with Xcode 16.0
Batch requires Xcode 16.0 and iOS 13.0 or higher
Core
- Re-release of 2.1.0 with a valid codesignature.
3.0.1
Compiles with Xcode 16.3
Batch requires Xcode 16.3 and iOS 15.0 or higher
Core
- Re-release of 3.0.0 due to a misalignment of deployment targets across package managers
3.0.0
This is a major release, please see our migration guide for more info on how update your current Batch implementation.
Compiles with Xcode 16.3
Batch requires Xcode 16.3 and iOS 13.0 or higher
Core
- Added
NS_SWIFT_UI_ACTOR
annotations on a couple of methods to prevent threading related bugs. While this is a breaking change, most implementations won't notice anything.
Messaging
- Added Mobile Landings with Push v2 which can be created from the CEP composer in the Batch Dashboard.
- Added new
BatchInAppDelegate
protocol andinAppDelegate
property onBatchMessaging
, in order to handler In-App messages manually. - Removed individual close callback methods (
batchMessageWasCancelledByAutoclose
,batchMessageWasCancelledByUser
,batchMessageWasCancelledByUserAction
,batchMessageWasCancelledByError
). Use the new unifiedbatchMessageDidDisappear:(NSString *_Nullable)messageIdentifier reason:(BatchMessagingCloseReason)reason
method. - The
batchMessageDidTriggerAction
delegate method now provides actaIdentifier
(NSString
) instead of the previousactionIndex
(NSInteger
).BatchMessageGlobalActionIndex
's type has been changed accordingly. This method is still called on MEP (Mobile Engagement Platform) messages, but you will now receive an identifier built from the old cta index : “mepCtaIndex:” + index. - Renamed property
content
from classBatchInAppMessage
tomepContent
. This method will return nil andcontentType
property will returnBatchMessagingContentTypeUnknown
for messages coming from the CEP (Customer Engagement Platform). - Fixed an issue where dismiss action didn't trigger
batchMessageDidTriggerAction
- Fixed a rare issue where Batch could presents a message on a UIAlertController
2.1.0
Compiles with Xcode 16.0
Batch requires Xcode 16.0 and iOS 13.0 or higher
Profile
- Added
setPhoneNumber
API to theBatchProfileEditor
class. This requires to have a user identifier registered or to call theidentify
method beforehand. - Added
setSMSMarketingSubscriptionState
API to theBatchProfileEditor
class. - Strengthened custom user identifier validation on
identify
API to avoid unintended values.
2.0.2
Compiles with Xcode 15.3
Batch requires Xcode 15.3 and iOS 13.0 or higher
Core
- Due to CocoaPod bugs, we removed Code Signing and Mergeable Library support from Batch when installed via CocoaPods. If those are important to you, please use Swift Package Manager or manually integrate the framework.
2.0.1
Compiles with Xcode 15.3
Batch requires Xcode 15.3 and iOS 13.0 or higher
Event
- Fixed an issue where tracking an event without custom attributes wasn't sent.