Skip to main content

Unity SDK release notes

Swrve has an open source SDK repository. There are two options for downloading the latest public Swrve Unity SDK.

For upgrade instructions, see Unity SDK Upgrade Guide.


Release 10.0.0

Release date: November 4, 2024

Features

  • Swrve Conversations is no longer supported and this feature has been removed from the SDK.
  • Increased the minimum Unity version to Unity LTS 2022.3.X.

Release 9.3.0

Release date: April 8, 2024

Features

  • In-app messages now support customizable layering of content elements. For more information, see Layering elements.
  • Added extra parameters to the push payload for internal processing.
  • Added a check to prohibit the use of a secret key type when creating an SDK instance with an API key.
  • Android:
    • The Push Delivered event payload now includes details when a notification is not displayed because the Notification Channel is disabled.
    • The Push Delivered event payload now includes the message’s priority.
    • Upgraded firebase-messaging library to 23.2.1.

Release 9.2.0

Release date: March 19, 2024

Features

  • Added privacy manifest with the default data collected by the SwrveSDK. For more information, see Using Apples Privacy Manifest
  • Removed code referencing CTCarrier, which has been deprecated in iOS 16.2 with no replacement.

Release 9.1.0

Release date: October 4, 2023

Features

  • To improve campaign holdout reporting on in-app message and embedded campaigns, the SDK now sends an impression event.
  • Added NUMERIC conditions support to in-app message triggering logic.
  • Added support for sending an event or user property update when a user engages with an in-app message. For more information, see In-app messages.
  • Realtime user properties are now updated before displaying in-app campaigns from push notifications.

Fixes

  • Resolved an issue to ensure that events are correctly requeued when a HTTP 429 error occurs.
  • iOS: Fixed a compilation issue caused by the application of the SWRVE_NO_PUSH macro.

Release 9.0.1

Release date: January 6, 2023

Fixes

  • Fixed an issue that occasionally caused the app to crash when the SDK refreshed the in-app message assets.
  • Android: Fixed an issue with Android notification permission requests on devices below Android 6.0 (API level 23) that caused the app to crash.

Release 9.0.0

Release date: November 24, 2022

Features

  • Increased the minimum Unity version to Unity LTS 2020.3.X.
  • Added a new object called SwrveMessageCenterDetails to expose the subject, description, and image icon of a message center campaign. For more information, see Swrve Message Center API.
  • Added a new API called DownloadDate that provides the download date of a message center campaign.
  • Added CONTAINS conditions support to in-app message triggering logic.
  • Added a new API for iOS and Android to the SwrveConfig called PushNotificationPermissionEvents. Use this API to configure specific events that trigger a notification permission prompt when added to the event queue. For more information, see the Unity integration guide.
  • Android:
    • Added support for Android 12 (API Level 31/32) and 13 (API Level 33), which includes Android’s new permission setting for displaying notifications. The minimum Android SDK compile version is now 31.
    • The Push Delivered event payload now includes:
      • An additional_info field that contains details such as the Google sent time and message ID.
    • Details when a notification is not displayed because the user has denied notification permission.
    • Increased Android minimum SDK from 16 to 19 to support the latest Firebase Cloud Messaging.
    • Upgraded the following tools and services:
      • Firebase-messaging library to 23.0.5
  • iOS: Unity has deprecated the iOS Notifications Services API and we have migrated to the Mobile Notifications package to ensure support for push notifications in Unity 2022. To use push notifications on Unity iOS, you must now install the package.

Fixes

  • Fixed an issue that occasionally caused the app to crash when the SDK downloaded in-app message or Conversation assets.
  • Android: Fixed a rendering issue to ensure only one notification and delivery event is sent per single push.

Previous releases summary

DateVersionFeatures and Fixes
October 17, 20228.4.2Removed reference to UNUserNotificationCenter when SWRVE_NO_PUSH preprocessor macro is used to avoid code errors.
September 29, 20228.4.1Fixed an issue with triggering in-app campaigns for QA users, where the campaign wasn't displaying despite using the correct payload trigger.
May 12, 20228.4.0In-app message enhancements: Multi-page support, accessibility text support, and added OR conditions support to triggering logic. Resolved an error that caused the app to crash if device region was returned null.
February 28, 20228.3.0Added support for custom text styling, padding and fonts for in-app messages. Fixed an issue in the CheckInfluenceData method that prevented the app from loading if the SDK was checking for push influenced data.
December 9, 20218.2.0Added support for multiple lines of text in the in-app message text component.
October 18, 20218.1.1Fixed a bug introduced in v8.1.0 that resulted in the SDK not sending push influenced events for Android users.
August 25, 20218.1.0Added a new API called stopTracking that stops the SDK from tracking a user's activity and sending events until you call the identify or start API. Various bug fixes.
July 27, 20218.0.0Added support for in-app message image personalization. Increased the minimum Unity version to Unity LTS 2019.4. Removed SWRVE_LOG_IDFA macro. Use the new public API SetIDFA(value) to set the IDFA after the user has given their permission. Streamlined the process for personalizing embedded messages. Various bug fixes.
April 27, 20217.3.2Fixed an issue with Conversation custom fonts that caused the system font to display on devices running Android 11.
March 29, 20217.3.1Fixed a "duplicate plugins" issue when building for Android in Unity 2020.
December 14, 20207.3.0Added the ability to use Swrve triggering for your own application UI and upgraded various Android tools and services. Various bug fixes.
October 21, 20207.2.0Upgrades to the QA user feature, with richer logs now available in the QA user logging screen, updated tracking of device OS and type for platform-specific delivery of in-app messages, mark Message Center campaigns as seen programmatically, and internal changes to improve the reliability of sending the Push Delivered event. As of iOS 14, Apple requires user permission to collect the IDFA (Identifier for Advertisers). Upgraded various Android tools and services.
March 25, 20207.1.0Swrve now automatically tracks and logs when push notifications are delivered and displayed on each device, removed legacy code that supported the now deprecated Unity 5 series, added new sample projects that act as a guide for generating the .aar file required for a Firebase integration, added an additional step to the Android pre-build action to generate a base version of the required AndroidManifest.xml file if it cannot be found at Assets/Plugins/Android, and updated our Firebase library dependency from 20.0.1 to 20.1.0. Various bug fixes.
January 29, 20207.0.2Fixed an iOS issue that prevented Conversation Push Opt-In campaigns from displaying for apps using provisional authorization for push notifications.
December 13, 20197.0.1Fixed an issue in the start API logic where the SDK generated a new user ID as if one was not provided, instead of using the previously cached ID.
December 5, 20197.0.0Added configuration options for delaying the start of the SDK and setting a custom user ID for tracking purposes, added logic where the assets of campaigns scheduled to trigger on session start are prioritized, deprecated the use of SwrveNotificationCustomFilter and added a SwrveNotificationFilter object instead, added an automatic retry if assets fail to download when the application resumes from background, moved minimum support up to Unity 2017.4.33f1(LTS), moved Android support libraries over to AndroidX, updated our Firebase library dependency from 17.4.0. to 20.0.1, added support for ProGuard, and changed the notification accent color configuration from RGB to Hex. Various bug fixes.
October 10, 20196.2.0 / 5.2.0With Apple's deprecation of the UIWebView API, migrated to the recommended WKWebView to prevent issues with submitting your app to the App Store. Updated Android Gradle tools and services. Various bug fixes.
April 9, 20196.1.0Added support for iOS 12 Provisional Authorization for push notifications and updated Android Firebase library dependency. Various bug fixes.
February 25, 20196.0.0Added support for user identity, push to in-app campaign linking, and Facebook dynamic ad journeys to bring the Unity SDK up to parity with the native Android and iOS Swrve SDKs. Removed support for Google Cloud Messaging. Various bug fixes.
August 15, 20185.1.3Bug fixes.
August 3, 20185.1.2Added an Android sample that shows how to integrate with multiple push providers and still support Android O. Various bug fixes.
February 12, 20185.1.1Bug fixes.
January 23, 20185.1.0Refactors and code improvements for easier integration, updates to Locations SDK and added support for nested push notification payload JSON. Various bug fixes.
October 13, 20174.11.0Several push notification enhancements, including support for creating rich notifications directly in Swrve and iOS influenced metrics reporting. Added support for Firebase Cloud Messaging and Android O.
June 7, 20174.10.1Bug fixes.
May 24, 20174.10.0Added support for using silent push notifications to send background app content updates.
May 8, 20174.9.2Bug fixes.
April 18, 20174.9.1Bug fixes.
March 21, 20174.9.0Disabled calls to native code (iOS / Android) when running the SDK in the Unity3D Editor to prevent error warnings in the logs and bug fixes.
February 2, 20174.8.0Various Conversation enhancements and fixes, including custom fonts and styling. To prevent App Store rejection by Apple, the SDK no longer collects Advertising Identifier (IDFA) by default.
November 24, 20164.7.0Added support for using date-type user properties to target your campaign audiences and for sending your own push engagement event.
November 22, 20164.6.0Changed the main Swrve Unity C# namespace from Swrve to SwrveUnity.
October 12, 20164.5.3Bug fixes.
September 2, 20164.5.2Bug fixes.
August 23, 20164.5.1Improved post-processing for iOS XCode projects in C#.
August 4, 20164.5.0Added support for Conversations, Message Center API and Location-Based Campaigns.
June 14, 20163.8.0Added support for using event payload conditions to trigger in-app messages campaigns.
April 12, 20163.7.0Changed the swrve.device_region user property from a 3-letter country code to a 2-letter country code.
February 11, 20163.6.0Added ability to disable SDK device logging.
November 30, 20153.5.0Restricted use of Swrve.* namespace for custom events.
October 23, 20153.4.3Updated Android push notifications plugin to latest GCM library.
August 18, 20153.4.2Added support to log device region and default to HTTPS to support iOS 9.
June 4, 20153.4.1Bug fixes.
April 8, 20153.4.0Changed default background of in-app messages from solid black to transparent.
March 13, 20153.3.2Added support for Unity 5.
January 21, 20153.3.1Bug fixes.
November 11, 20143.3.0Added support to log carrier information by default.
October 21, 20143.2.0Added support to generate a random UUID if no custom user ID is provided at initialization.
September 12, 20143.1.3Production support for iOS 8.
August 29, 20143.1.2Beta support for testing devices running iOS 8 Beta 5.
August 8, 20143.1.1Beta support for iOS 8 push registration method.
July 30, 20143.1.0Simplified Unity Android push notification integration and added support for triggering in-app messages at session start.
May 27, 20143.0.1Bug fixes.
May 15, 20143.0.0Enhancements to real-time targeting and added support for Google IAP functionality.
April 1, 20142.10.0Simplified in-app message actions and QA device registration.
March 4, 20142.9.0Added support for push notifications for both Unity Android and Unity iOS devices.
2.8.2Bug fixes.
2.8.1Bug fixes.
2.8.0Added support for Swrve's redesigned in-app messaging functionality and push notifications Beta.
2.7.0Added push notification changes, support for auto-generation of user IDs, and unified the in-app messaging and analytics SDKs.
November 12, 20132.6.0Added support for extended IAP event and bug fixes.
October 22, 20132.5.2Bug fixes.
October 18, 20132.5.1Bug fixes.
October 16, 20132.5.0Added support for in-app messaging per campaign dismissal rules and bug fixes.
October 2, 20132.4.1Bug fixes.
September 17, 20132.4.0Added support for in-app messaging QA logging.
August 20, 20132.3.0Added support for in-app messaging QA user functionality.
July 26, 20132.2.0Support for new iTunes connect receipt validation.
July 2, 20132.0.1Added support for in-app messaging and other features.
February 21, 20131.0.0First public release.
August 24, 2012First beta release.
June 5, 2012Fixed install, dismiss and custom button processing.