Skip to content

1.4.0

Choose a tag to compare

@arnaud-roland arnaud-roland released this 23 Jan 15:29
· 62 commits to master since this release

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 setCanUseAdvertisingID and canUseAdvertisingID from BatchPluginConfiguration are now deprecated and do nothing.
    • Android's manifest configuration com.batch.flutter.use_gaid has been removed.
    • iOS's property canUseIDFA from BatchPluginConfiguration is now deprecated and does nothing.
    • iOS's Info.plist property BatchFlutterCanUseIDFA has 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 to BatchUserDataEditor. This requires to have a user identifier registered or to call the setIdentifier method on the editor instance beforehand.
  • Added setEmailMarketingSubscriptionState(BatchEmailSubscriptionState state) method to BatchUserDataEditor.

Inbox

  • Added hasLandingMessage property to BatchInboxNotificationContent.
  • Added displayNotificationLandingMessage(BatchInboxNotificationContent notification) method to BatchInboxFetcher.