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.
- Android's Methods
- 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.