Skip to content

Releases: sailthru/sailthru-mobile-android-sdk

Sailthru Mobile Android SDK 17.0.4

18 Oct 02:25
9e530ec
Compare
Choose a tag to compare

Changes

Updates the internal Android lifecycle handling

Sailthru Mobile Android SDK 17.0.3

06 Sep 00:56
9e530ec
Compare
Choose a tag to compare

Bug Fixes

  • Fixes the location of obfuscated classes - they are now located in an internal SDK package to prevent collisions with other obfuscated dependencies.

Sailthru Mobile Android SDK 17.0.2

22 Aug 04:44
9e530ec
Compare
Choose a tag to compare

Changes

  • Adjusts the universal link verification process to make it less restrictive.

Sailthru Mobile Android SDK 17.0.1

11 Jul 09:05
9e530ec
Compare
Choose a tag to compare

Bug Fixes

  • Fixes an issue with the new result enum NotificationPermissionRequestResult being obfuscated

Sailthru Mobile Android SDK 17.0.0

08 Jul 13:57
9e530ec
Compare
Choose a tag to compare

Features

Android 13 Support

This release adds updates to support the imminent release of Android 13. This version adds a new notification permission dialog that will need to be shown to and accepted by the app user before push notifications will be displayed (on new installs only, upgrading to Android 13 will not cause the permission dialog to be shown).
In order to support this the SDK has added a new requestNotificationPermission method to help streamline requesting the new permission. Mode details are provided in our documentation.

The SDK targetSdk version has also been updated to 33.

Storage Update

Similar to the recent iOS changes, we have updated how the SDK persists data internally. We have moved away from using SharedPreferences and now store data using Room. Note that while the SDK has been designed to automatically migrate its data into the new store you should still conduct some extra tests to make sure you don't experience any issues with the new storage format.

Bug Fixes

  • Fixes a bug when handling a Device ID present on the device but not on the platform.
  • Fixes a bug when loading images for notifications and in-app notifications.

Sailthru Mobile Android SDK 16.0.0

27 Jan 19:45
9e530ec
Compare
Choose a tag to compare

Features

Coroutines support is here! This release adds a collection of extension methods that allow the asynchronous functionality in the SDK to be called in a suspendible way in coroutines. There are two variations available for each piece of functionality:

  • methods that return a Result
  • methods that return the desired outcome directly or throw an exception on failure

We have also added three SharedFlow instances as an alternative to providing listeners for SDK events:

  • notificationReceivedFlow - for handling events when notifications arrive on the device
  • notificationTappedFlow - for handling events when notifications are tapped by the user
  • notificationActionTappedFlow - for handling events when notification actions are tapped by the user

The internal workings of the SDK have also been updated to rely more heavily on coroutines in order to support these changes as well as to help tighten up some functionality under the hood.

All exposed interfaces with only a single method have also been changed to functional interfaces so they can be implemented as lambdas in Kotlin.

See our docs for more details on implementation.

Sailthru Mobile Android SDK 15.0.0

26 Aug 23:50
9e530ec
Compare
Choose a tag to compare

This release adds support for Android 12 and targetSdkVersion 31.

Android 12 Changes

Features

Sailthru Mobile Android SDK 14.1.0

08 Apr 21:49
9e530ec
Compare
Choose a tag to compare

Features

This release adds support for purchase adjustments to be added when making purchases using the new PurchaseAdjustment class. See our docs for more details.

Sailthru Mobile Android SDK 14.0.0

24 Mar 02:40
9e530ec
Compare
Choose a tag to compare

Features

  • Updates the minSdkVersion to 21, as this is the minimum supported by the SDK's OkHttp dependency.
  • Overhauls the SDK's internal networking. This should have minimal external impact, however when errors are returned from API calls they will now be wrapped in a new HttpError class.

Bug Fixes

  • Fixes an intermittent bug which would cause image loading issues in notifications when the app was backgrounded for an extended period.

Sailthru Mobile Android SDK 13.0.3

30 Nov 01:54
9e530ec
Compare
Choose a tag to compare

Bug Fixes

  • This release fixes a significant push handling bug that would cause an exception to be thrown when handling push notifications containing images after the app had been cleared from memory.