Releases: Swrve/swrve-android-sdk
Releases · Swrve/swrve-android-sdk
release-11_9_0
Features
- Added support for displaying animated GIF images in push notifications on Android 14 (API Level 34) and newer.
release-11_8_0
Features
- Embedded campaign content from the Message Center is now returned pre‑personalized. To access the original (unpersonalized) payload, use the dataRaw property on SwrveEmbeddedMessage.
release-11_7_0
Features
- In-app messages now support displaying Video content via Media3 Library. For more information, see In-App Messages. The Media3 library has a minimum compile version of 35 so update your app's compileSdkVersion setting accordingly to ensure compatibility.
release-11_6_0
Features
- Added support for processing images with content type image/jpg in In-app campaigns.
Fixes|
- Fixed an issue for In-app campaign triggers where all 'AND' conditions where not fully satisfied.
release-11_5_0
Features
- Added new
refreshContentAPI, that takes a completion callbackSwrveRefreshContentListener, which can be used to manually refresh all content including Campaigns, Resources, Push Inbox and Real Time User Properties. Consider using this instead ofrefreshCampaignsAndResourcesto simplify content synchronization. - Added new Message Center API called
getInAppMessageCenterCampaignsto get a list of In-app Campaigns, excluding other campaign types. - Added new Message Center API called
getEmbeddedMessageCenterCampaignsto get a list of Embedded Messages, excluding other campaign types. - Added new Message Center API called
removeMessageCenterCampaign, that takes a campaign Id as an argument, to mark the message center campaign as removed from display. - Added new Message Center API called
markMessageCenterCampaignAsSeen, that takes a campaign Id as an argument, to mark the message center campaign as seen/read. - Migrated gradle plugin tool for publishing via Maven Central Portal instead of legacy OSSRH.
Fixes
- Fixed an issue with QA user logs that incorrectly logged a campaign as displayed when a realtime user property was missing.
release-11_4_1
Fixes
- Resolved an issue introduced in Release 11.4.0 where AGP upgrades necessitated a Kotlin version upgrade. This release reverts those Gradle changes.
release-11_4_0
Features
- Upgraded the following tools and services:
- Android Gradle Plugin to version 8.9.0
- Gradle to version 8.11.1
Fixes
- Fixed an issue where engaged events were not sent when
useEngagementProxywas false and a push notification used an external deeplink.
release-11_3_0
Features
- When a push engagement triggers a deeplink, the deeplink URL is now included as a property within the engaged event payload.
- Added a new API called sendDeviceUpdate that sends the current device properties to Swrve.
Fixes
- Fixed a crash when upgrading from SDK versions prior to 11.1.0. This crash occurred when the getMessageCenterCampaigns API was invoked while the device is offline. Once a valid connection was established, the SDK recovers, indicating this is a one-time issue.
release-11_2_0
Features
- Added a new API, useEngagementProxy, to SwrveNotificationConfig. This API enables control over the use of an engagement proxy activity for handling push notification engagements. For more information, see Advanced push notification configuration.
- Added a new API, notificationIntentListener, to SwrveNotificationConfig. This API allows developers to customize the Intent opened when a user engages with a notification, including setting custom flags and extras.
- Removed the animation from launching an Activity from a deeplink.
- Improved internal event sending.
- Improved app launch performance when a user engages with a notification.
Fixes
- Fixed a rare crash in In-app message Stories.
release-11_1_2
Features
- Added a new
sendPushEngagedEventAPI that acceptspushId,trackingData, andplatformarguments. These values are extracted from the push payload using the_p,_td, and_smpkeys, respectively.