Sailthru Mobile Android SDK 18.0.0
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.