SDK changelog
3.0.0
Plugin
Updated Batch to 3.1
Batch requires iOS 15.0 or higher and Xcode 16.4
Batch is now distributed as a dynamic framework
Added support for strict concurrency in Swift 6
Batch now compiles with SDK 36 (Android 16 'Baklava').
Push
Added
setShowNotificationsmethod to control whether android push notifications should be displayed.Added
shouldShowNotificationsmethod to check current android notification display settings.
Messaging
Added support for Mobile Landings within the Customer Engagement Platform.
Added support for In-App Automations within the Customer Engagement Platform.
2.1.0
Plugin
Updated Batch to 2.1
Batch requires iOS 13.0 or higher.
Batch requires to compile with SDK 35 (Android 15).
iOS
Added support for Swift Package Manager. Since, as of writing, Flutter's support of SPM is still under development, this may not work in future versions of Flutter. Batch is still backwards compatible with CocoaPods.
Profile
Added
setPhoneNumberAPI to theBatchProfileAttributeEditorclass. This requires to have a user identifier registered or to call theidentifymethod beforehand.Added
setSMSMarketingSubscriptionAPI to theBatchProfileAttributeEditorclass.
2.0.0
This is a major release, please see our migration guide for more info on how to update your current Batch implementation.
Plugin
Batch requires iOS 13.0 or higher.
Batch requires a
minSdklevel of 21 or higher.
iOS
Removed deprecated
canUseIDFAproperty fromBatchPluginConfiguration.Removed
canUseAdvancedDeviceInformationproperty fromBatchPluginConfiguration. You should now use thesetAutomaticDataCollectionAPI.Added
profileCustomIdMigrationEnabledproperty to disable the profile custom id migration. This can also be done from theInfo.plistfile. See our documentation for info.Added
profileCustomDataMigrationEnabledproperty to disable the profile custom data migration. This can also be done from theInfo.plistfile. See our documentation for info.
Android
Removed deprecated
canUseAdvertisingIDmethod fromBatchPluginConfiguration.Removed
setCanUseAdvancedDeviceInformationandcanUseAdvancedDeviceInformationmethod fromBatchPluginConfiguration. You should now use the newsetAutomaticDataCollectionAPI.Added
setProfileCustomIdMigrationEnabledmethod to disable the profile custom id migration. This can also be done from theAndroidManifestmeta-data. See our documentation for info.Added
setProfileCustomDataMigrationEnabledmethod to disable the profile custom data migration. This can also be done from theAndroidManifestmeta-data. See our documentation for info.
Core
Added method
isOptedOutto checks whether Batch has been opted out from or not.Added method
setAutomaticDataCollectionto fine-tune the data you authorize to be tracked by Batch.
User
Removed method
trackTransactionwith no equivalent.Removed method
BatchUser.newEditorand the related classBatchUserDataEditor, you should now useBatchProfile.instance.newEditor()which return an instance ofBatchProfileAttributeEditor.Added method
clearInstallationDatawhich allows you to remove the installation data without modifying the current profile.
Event
This version introduced two new types of attribute that can be attached to an event : Array and Object.
Removed
trackEventAPIs from the user module. You should now useBatchProfile.instance.trackEvent.BatchEventDatahas been renamed intoBatchEventAttributes.Added support of type Array and Object with the following:
Added
putObjectmethod toBatchEventAttributes.Added
putObjectListmethodBatchEventAttributes.Added
putStringListmethodBatchEventAttributes.
Removed
addTagAPI fromBatchEventDataYou should now use the$tagskey inBatchEventAttributeswith theputStringListmethod.Removed parameter
labelfromtrackEventAPI. You should now use the$labelkey inBatchEventAttributeswith theputStringmethod.
Profile
Introduced BatchProfile, a new module that enables interacting with profiles. Its functionality replaces most of BatchUser used to do.
Added
identifyAPI as replacement ofBatchUser.instance.newEditor().setIdentifier.Added
newEditormethod to get a new instance of aBatchProfileAttributeEditoras replacement ofBatchUserDataEditor.Added
trackEventAPI as replacement of theBatchUser.instance.trackEventmethods.Added
trackLocationAPI as replacement of theBatchUser.instance.trackLocationmethod.
1.4.0
Plugin
Dart 2.15+ is now required.
Updated Batch to 1.21.0.
Batch requires iOS 12.0 or higher.
Batch now compiles with and targets SDK 34 (Android 14).
User
Removed automatic collection of the advertising id:
Android's Methods
setCanUseAdvertisingIDandcanUseAdvertisingIDfromBatchPluginConfigurationare now deprecated and do nothing.Android's manifest configuration
com.batch.flutter.use_gaidhas been removed.iOS's property
canUseIDFAfromBatchPluginConfigurationis now deprecated and does nothing.iOS's Info.plist property
BatchFlutterCanUseIDFAhas been removed.You need to collect it from your side and pass it to Batch via the added
setAttributionIdentifier(String? id)method. Batch will persist it across starts.
Added
setEmail(String? email)method toBatchUserDataEditor. This requires to have a user identifier registered or to call thesetIdentifiermethod on the editor instance beforehand.Added
setEmailMarketingSubscriptionState(BatchEmailSubscriptionState state)method toBatchUserDataEditor.
Inbox
Added
hasLandingMessageproperty toBatchInboxNotificationContent.Added
displayNotificationLandingMessage(BatchInboxNotificationContent notification)method toBatchInboxFetcher.
1.3.0
Plugin
Updated Batch to 1.19.2. Bumping your Android project's
compileSdkVersionto33might be required. Xcode 13.3 required if your project uses bitcode.
Push
Added Android implementation of the
batch.push.requestNotificationAuthorization()API. This allows you to request for the new notification permission introduced in Android 13. See the documentation for more info.
1.2.0
Plugin
Updated Batch to 1.19.0. Bumping your Android project's
compileSdkVersionto31might be required. Xcode 13.3 required if your project uses bitcode.
Inbox
Silent notifications are now filtered on Android rather than throwing an exception when fetched.
1.1.4
Plugin
Android: Move away from jCenter and use Maven Central.
1.1.3
Plugin
Updated dependencies so that the project can be built using Flutter 2.10. Bumping your Android project's
compileSdkVersionto31might be required.
1.1.2
Plugin
Android: Fixed an issue where Batch's "advanced device information" was disabled by default and not configurable using the Manifest.
Android: Manifest configuration of the initial Do Not Disturb state now works as expected.
1.1.1
Plugin
Update Batch iOS to 1.18.1
Work around a Flutter issue where a wrong nullability annotation resulted in a debug app crashing when started from the home screen. The scenario is still unsupported by Flutter, but the app will not crash anymore.
1.1.0
Plugin
Update Batch to 1.18
User
Added support for the URL attribute and event data type.
1.0.0
Initial stable release 🎉
Changes since RC:
Inbox
Removed
isDeletedonBatchInboxNotificationContentas it doesn't work like it does on the native SDK due to plugin limitations.
1.0.0-rc.2
Inbox
Fix
limitandmaxPageSizestaying at their default values.
1.0.0-rc.1 / 0.1.0
First Release Candidate
Messaging
Added Do Not Disturb support.
Inbox
Calling
dispose()on a disposed fetcher doesn't throw anymore.Added
markAsRead(),markAllAsRead()andmarkAsDeleted().Added
limitandmaxPageSizetogetFetcherForInstallation()andgetFetcherForUser().
0.0.3
Inbox
Added Batch Inbox support:
Fetchers can be instanciated for both Installation and User modes.
fetchNewNotifications(),fetchNextPage(),get allNotificationsanddispose()have been implemented.markAsRead(),markAsDeleted()and pagination configuration will come in a later beta.
Push
Added
setShowForegroundNotificationsOniOS(), which can enable foreground notification display on iOS. Note: This requiresBatchUNUserNotificationCenterDelegateto be set as yourUNUserNotificationCenterDelegatein the native integration.
User
Added
get attributesandget tagCollectionsproperties to read back previously set attributes and tag collections.Added
get identifier,get languageandget regionto read back the user identifier and language/region overrides.
0.0.2
Core
Added
showDebugView().Added
optIn(),optOut()andoptOutAndWipeData().isOptedOutwill come in a later seed.
Push
Added
requestProvisionalNotificationAuthorization().
User
Added
trackEvent(),trackTransaction(),trackLocation()and theBatchEventDataclass.Added
newEditor()which returns aBatchUserDataEditorinstance, allowing you to edit the user profile (attributes, tags, language/region, custom identifier).
0.0.1
First Batch Flutter plugin beta release.
Last updated

