Skip to content

Releases: BatchLabs/Batch-Android-SDK

1.21.1

16 Jan 14:54
Compare
Choose a tag to compare

Inbox

  • Fixed an issue where an inbox fetcher could have a wrong configuration.

1.20.2

16 Jan 14:25
Compare
Choose a tag to compare

This release backports changes from 1.21.1

Inbox

  • Fixed an issue where an inbox fetcher could have a wrong configuration.

1.21.0

05 Jan 14:39
Compare
Choose a tag to compare

BREAKING

  • Removed support for optional Play Core library. You should now use the Play In-App Review Library. Please see our documentation for more info.

Core

  • Removed automatic collection of AAID (Android Advertising Identifier). setCanUseAdvertisingID is now a no-op. You need to collect it from your side and pass it to Batch via the added Batch.User.editor().setAttributionIdentifier(id) method.

Push

  • To help with FCM v1 API migration, the SDK will send the GCP Project ID associated to the FCM Token to Batch's backend. This is not supported in legacy GCM/FCM Instance ID modes.

1.20.1

15 Sep 15:49
Compare
Choose a tag to compare

User

  • Fixed an issue on BatchUserDataEditor where data wasn't sent when using setEmail or setEmailMarketingSubscriptionState.

1.20.0

27 Jul 12:26
Compare
Choose a tag to compare

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.

1.19.4

01 Feb 12:55
Compare
Choose a tag to compare

Messaging

  • Fixed an issue for In-App Webview format where Batch would get the wrong deeplink url for an image embedded into a hyperlink.

1.19.3

23 Sep 08:23
Compare
Choose a tag to compare

Core

  • Fixed an issue where Batch would crash when advertising ID collection is enabled and the Firebase Messaging library is not present

1.19.2

25 Aug 21:01
Compare
Choose a tag to compare

Core

  • Batch now compiles with and targets SDK 33 (Android 13).
  • Improved support for Android 13 Tiramisu.
  • Added a new API: Batch.Push.requestNotificationPermission(context). This allows you to request for the new notification permission introduced in Android 13. See the documentation for more info.
  • Fixed an issue where BatchNotificationChannelsManager.openSystemChannelSettings(context) wasn't working with an application context.

Actions

  • Added batch.android_smart_reoptin, which asks the user the notification permission or redirect to the notification settings.
  • Added batch.android_redirect_settings, which redirects the user to the notification settings.

1.18.3

15 Jun 14:07
Compare
Choose a tag to compare

Messaging

  • Fixed a display issue on Modals with an image but no title.

1.19.1

03 Jun 09:15
Compare
Choose a tag to compare

Core

  • Fixed a rare crash on Wiko devices when a high priority push was received in battery saving mode.

Event Dispatcher

  • Fixed a crash that could happen when using Batch SDK 1.19+ with ATInternet or Firebase dispatcher plugins < 3.0.

Messaging

  • Fixed a display issue on Modals with an image but no title.