Skip to content

Releases: sailthru/sailthru-mobile-android-sdk

Marigold Android SDK 23.0.0

15 Sep 22:35
632d1c5
Compare
Choose a tag to compare

This release updates the Android SDK for Android 15. The most notable change is a UI fix - note that you should update to this version of the SDK before setting the targetSdk version of your app to 35 or you will experience UI issues with the default in-app full screen display!

It also updates to the latest Firebase Cloud Messaging library version to 24.0.1 and uses Kotlin version 1.9.24.

Breaking Changes

The SDK no longer uses LocalBroadcastReceiver to publish updates about any internal behaviour. All updates of this kind are now handled by listeners and/or Kotlin flows.

Marigold Android SDK 22.0.0

22 May 02:46
632d1c5
Compare
Choose a tag to compare

Breaking Changes

This release removes the migration code that takes SDK data from our previous SharedPreferences implementation and moves it into the new Room model. It's important that if you are upgrading your SDK version from 16.0.0 or earlier that you first upgrade your devices through a version between 17.0.0 and 21.0.0 to avoid losing data.

Marigold Android SDK 21.0.0

28 Apr 23:58
632d1c5
Compare
Choose a tag to compare

Features

This release removes the deprecated functionality for device attributes and clearing device data. Any device attributes should be migrated to work with Profile Vars instead. The remaining clear functionality is now handled by two separate methods in the EngageBySailthru (clearEvents) and MessageStream (clearMessages) classes.

Marigold Android SDK 20.2.0

04 Apr 20:54
632d1c5
Compare
Choose a tag to compare

Features

This release deprecates the Marigold.clearDevice() method, replacing it with two new methods:
EngageBySailthru.clearEvents() - for clearing custom events from the device.
MessageStream.clearMessages() - for clearing the device's message stream.

Marigold Android SDK 20.1.0

06 Mar 22:31
632d1c5
Compare
Choose a tag to compare

Features

This release adds a new listener: InAppNotificationTappedListener
This allows you to override the default behaviour when an in-app notification banner is tapped on by a user. It provides the message in question for any custom handling you would like to do. It can be set through the MessageStream setInAppOnClickListener method.

Marigold Android SDK 20.0.0

07 Feb 02:26
3b67907
Compare
Choose a tag to compare

Features

We've rebranded! The Sailthru Mobile Android SDK is now the Marigold Android SDK! There have been several important changes to the class and package names so make sure you check out our rebrand migration guide here.

The most important change is that the old SailthruMobile class is now Marigold! If you're a Sailthru customer you'll notice that some of the functionality has been moved out into a new EngageBySailthru class. This class now holds all the methods that only apply to Sailthru customers.

Sailthru Mobile Android SDK 19.1.0

12 Nov 21:21
3b67907
Compare
Choose a tag to compare

Deprecations

  • The recommendations methods and ContentItem are deprecated and will be removed in the next major release.

Sailthru Mobile Android SDK 19.0.0

10 Aug 23:22
9e530ec
Compare
Choose a tag to compare

Breaking Changes

This release prepares the SDK for the upcoming Android 14 release. While there are no API changes to worry about, we have made updates to our build versions in ways that may impact your app.

Kotlin Version

We have updated the Kotlin version used in the SDK from 1.6.21 to 1.8.22. Kotlin supports one version of forward compatibility, so if Kotlin is also used in your app this change requires it to be 1.7+.

Java Compatibility

The Java compatibility version used has been upgraded from 1.8 to 17. This should not have any impact on your app but please raise it if any issues occur that you think may be related.

Bug Fixes

Profile Vars

Previously the setProfileVars method would always return an error response, even though the vars were set correctly on the platform. This was due to an internal handling error in the SDK that has now been rectified.

Other Changes

Target SDK Version

The library targetSdkVersion tag has been deprecated as it was largely advisory for libraries. We have removed it in this release. The SDK compileSdkVersion is now 34.

Sailthru Mobile Android SDK 18.0.1

30 Jan 23:20
9e530ec
Compare
Choose a tag to compare

Bug Fixes

  • Fixes an issue in the MessageStream.deleteMessage response handling that would result in an error result always being returned, even when the message deletion was successful.

Sailthru Mobile Android SDK 18.0.0

30 Nov 02:59
9e530ec
Compare
Choose a tag to compare

Breaking Changes

This release is mostly internal updates, removing the use of deprecated methods and incorporating changes to back pressed handling. However, we have also made a change to how Message objects are passed around by the SDK. Previously once a Message was retrieved from the platform it would be added to a Bundle or Intent extras to allow it to be accessed in other areas, including listeners used by the parent app. This has now been removed in favor of passing just the ID of the message, which can be used to retrieve the message through the MessageStream class. If any of your app handling currently retrieves the message object directly using the EXTRA_PARCELABLE_MESSAGE key, this has been removed (as have the message objects), so you will need to get the ID with the EXTRA_MESSAGE_ID key and call MessageStream.getMessage instead. The SDK maintains a cache of previously retrieved messages so in this instance the message will be returned directly from the cache.