Skip to content

1.20.0

Compare
Choose a tag to compare
@arnaud-roland arnaud-roland released this 27 Jul 12:26
· 13 commits to master since this release

Core

  • Batch now compiles with and targets SDK 34 (Android 14 'Upside Down Cake').
  • Fixed a rare issue where the SDK could trigger an ANR on start when upgraded from an older version.

Push

  • Improved notification image by making notifications taller if possible and changing scaling type to Center Fit.

User

  • Added Batch.User.editor().setEmail(email) method. This requires to have a user identifier registered or to call the setIdentifier method on the editor instance beforehand.
  • Added Batch.User.editor().setEmailMarketingSubscriptionState(BatchEmailSubscriptionState) method to subscribe to the email marketing list.

Inbox

  • Added the ability to know if a BatchLandingMessage has been displayed from the inbox via the isDisplayedFromInbox() method.
  • Added the ability to know if a notification has a landing message attached on BatchInboxNotificationContent using the hasLandingMessage() method.
  • Added the ability to display a landing message attached to a BatchInboxNotificationContent using the displayLandingMessage(context) method.