Skip to content

Releases: BatchLabs/Batch-iOS-SDK

3.0.3

08 Aug 17:03
Compare
Choose a tag to compare

Compiles with Xcode 16.3
Batch requires Xcode 16.3 and iOS 15.0 or higher

Core

  • Re-release of 3.0.2 due to a build script issue.

3.0.2

07 Aug 13:35
Compare
Choose a tag to compare

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

13 Jun 09:07
118600f
Compare
Choose a tag to compare

Compiles with Xcode 15.1
Batch requires Xcode 15.1 and iOS 12.0 or higher

Core

  • Re-release of 1.21.2 with a valid codesignature.

1.21.2

13 Jun 09:03
Compare
Choose a tag to compare

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

11 Jun 16:18
Compare
Choose a tag to compare

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

05 Jun 15:10
Compare
Choose a tag to compare

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

05 Jun 10:24
f8fa9e3
Compare
Choose a tag to compare

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 and inAppDelegate property on BatchMessaging, in order to handler In-App messages manually.
  • Removed individual close callback methods (batchMessageWasCancelledByAutoclose, batchMessageWasCancelledByUser, batchMessageWasCancelledByUserAction, batchMessageWasCancelledByError). Use the new unified batchMessageDidDisappear:(NSString *_Nullable)messageIdentifier reason:(BatchMessagingCloseReason)reason method.
  • The batchMessageDidTriggerAction delegate method now provides a ctaIdentifier (NSString) instead of the previous actionIndex (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 class BatchInAppMessage to mepContent. This method will return nil and contentType property will return BatchMessagingContentTypeUnknown 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

29 Oct 14:39
Compare
Choose a tag to compare

Compiles with Xcode 16.0
Batch requires Xcode 16.0 and iOS 13.0 or higher

Profile

  • Added setPhoneNumber API to the BatchProfileEditor class. This requires to have a user identifier registered or to call the identify method beforehand.
  • Added setSMSMarketingSubscriptionState API to the BatchProfileEditor class.
  • Strengthened custom user identifier validation on identify API to avoid unintended values.

2.0.2

23 May 09:16
Compare
Choose a tag to compare

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

03 May 13:53
Compare
Choose a tag to compare

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.