Releases: sailthru/sailthru-mobile-android-sdk
Marigold Android SDK 24.0.0
Features (Sailthru)
Back by popular demand, this release returns device attributes to the Android SDK. They're largely unchanged with the following exceptions:
- MergeRule is now an enum rather than using static ints
- The attributes methods now have variants with the result callback automatically set to null. The corresponding coroutines methods use the same names but add 'Device' to the name to differentiate them.
- The clearAttributes method now uses the AttributeHandler callback, so it's consistent with other attributes methods.
Breaking Changes
Some unused broadcast constants that were still present in the API have been removed:
ACTION_MESSAGE_COUNT_UPDATE
ACTION_MESSAGE_READ
Marigold Android SDK 23.0.0
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
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
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
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
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
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
Deprecations
- The recommendations methods and ContentItem are deprecated and will be removed in the next major release.
Sailthru Mobile Android SDK 19.0.0
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
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.