Android Changelog
The latest updates to the Airship Android SDK
18.5.0 December 5, 2024
Minor release that includes various improvements to scenes, data management and some minor bug fixes.
Changes
- Added support to mark a label as a heading in Scenes.
- Improved live update database handling to mitigate rare filesystem crashes.
- Improved automation store to avoid query limits.
18.4.2 November 26, 2024
Patch release that fixes an issue with Embedded Views being impacted by certain App theme customizations, avoids a potential NPE related to network failures, and adds more useful logging around Feature Flag evaluation.
Changes
- Prevent App-level theme customizations from impacting Embedded Views
- Avoid a potential NPE related to network failures, when no error body is present
- Improved logging around Feature Flag evaluation
18.4.1 November 16, 2024
Patch release that fixes an issue with pausing and resuming In-App Automations and avoids a potential crash in the Automation database.
Changes
- Fixed an issue with
AutomationEngine.setEnginePaused(...)
that could prevent message displays when paused an then un-paused - Fixed a potential crash in Automation DB if 1000+ rows are present in the schedules table
18.4.0 November 1, 2024
Minor release with several enhancements to Scenes and In-App Automations.
Changes
- Added shadow support for modal Scenes
- Added new Scene layout to allow adding actions to anything within a Scene
- Added new
AirshipEmbeddedViewGroup
composable to make it possible to show a carousel of embedded views for the same embedded ID - Improved accessibility of scene story indicator. Indicator has been updated to make it obvious which page is active by reducing the height of the inactive pages. Previously this was conveyed only through color
- improved accessibility for In-App Automation views
- Fixed issue with FCM registration if the FCM application is not configured before Airship starts, causing launch notifications to be ignored
18.3.3 October 16, 2024
Patch release that fixes a potential crash when displaying In-App Automation messages, improves WebView security, and improves accessibility in Scenes and Stories. Apps that make use of In-App Automation, Landing Pages, or Message Center should update.
Changes
- Fix a potential crash when displaying In-App messages
- Explicitly disallow file and content access in all WebViews
- Accessibility improvements for Scenes and Stories
18.3.2 October 3, 2024
Patch release that improves markdown support in Scenes and fixes for automation display interval and frequency limit handling. Apps that make use of markdown in Scenes, or automations with display intervals or frequency limits should update.
Changes
- Improve markdown support in Scenes, including better handling of newlines in the input text.
- Fixed automation display interval and frequency limit handling.
18.3.1 September 30, 2024
Patch release that fixes modal IAA border radius and fixes scenes with wide images.
Changes
- Fixed modal IAA border radius.
- Fixed scenes with wide images.
18.3.0 September 13, 2024
Minor release that adds a new method enableUserNotifications(PermissionPromptFallback)
on PushManager
.
Changes
- Added a
enableUserNotifications(PermissionPromptFallback)
method onPushManager
that will attempt to enable notifications and use the fallback if the permission is denied.
18.2.0 September 6, 2024
Minor release with several enhancements to In-App Automation, Scenes, and Surveys. This version also contains a fix for applications that are targeting API 35.
Changes
- Updated compose bom to 2024.06.00.
- Replaced the usage of
removeFirst
to avoid crashes when targeting API 35. - Added ability to customize the content per In-App Automation with the new
InAppMessageContentExtender
. - Added plain markdown support for text markup in Scenes.
- Added execution window support to In-App Automation, Scenes, and Surveys.
- Updated handling of priority for In-App Automation, Scenes, and Surveys. Priority is now taken into consideration at each step of displaying a message instead of just sorting messages that are triggered at the same time.
- Updated handling of long delays for In-App Automation, Scenes, and Surveys. Delays will now be preprocessed up to 30 seconds before it ends before the message is prepared.
18.1.6 August 10, 2024
Patch release that fixes in-app experience displays when resuming from a paused state. Apps that use in-app experiences are encouraged to update.
Changes
- Fixed Automation Engine updates when pause state changes.
18.1.5 August 6, 2024
Patch release that fixes test devices audience check and holdout group experiments displays.
Changes
- Fixed test devices audience check.
- Fixed holdout group experiment displays.
18.1.4 August 1, 2024
Patch release that includes bug fixes for Embedded Content.
Changes
- Fixed an issue with dismissing Embedded Content after pausing and resuming the app.
- Updated the default
PreferenceCenterFragment
to scope thePreferenceCenterViewModel
to the fragment’s view lifecycle.
18.1.3 July 30, 2024
Patch release that includes bug fixes for Embedded Content and Preference Center, and accessibility improvements for Message Center.
Changes
- Fixed an issue with container child item measurement in Scenes, when margins were set on the container items.
- Fixed a Preference Center bug that could lead to subscription channel chips not being visible when initially displaying a Preference Center.
- Fixed dismissing multiple embedded views in the same session.
- Fixed an issue with automation trigger state not correctly persisting across sessions.
- Message Center accessibility improvements.
- Updated the default style for the pull to dismiss view in In-App Message Banners to better match iOS.
18.1.2 July 16, 2024
Patch release that includes fixes for Preference Center.
Changes
- Fixed warning message on preference center email entry field.
- Fixed country code listing.
18.1.1 June 28, 2024
Patch release that includes fixes for Preference Center, Privacy Manager, and Embedded Content.
Changes
- Fixed a Preference Center issue that caused contact subscription toggles to show the incorrect state after being toggled
- Fixed test dependency being included in the automation module
- Fixed Embedded Content impression event interval
- Fixed privacy manager crash when enabling, disabling, or setting an empty set of features
- Contact channel listing is now refreshed on foreground and from a background push
18.1.0 June 21, 2024
Minor SDK release that fixes a potential crash related to analytics during app init and adds public
builders for modifying InAppMessage
and AutomationSchedule
objects via extenders set onLegacyInAppMessaging
.
Changes
- Fixed a potential crash related to analytics during app init
- Added builders for modifying
InAppMessage
andAutomationSchedule
objects via extenders set onLegacyInAppMessaging
18.0.0 June 14, 2024
Major SDK release with several breaking changes. See the Migration Guides for more info.
Changes
- The Airship SDK now requires
compileSdk
version 34 (Android 14) or higher. - New Automation module
- Check schedule’s start date before executing, to better handle updates to the scheduled start date
- Improved image loading for In-App messages, Scenes, and Surveys
- Reset GIF animations on visibility change in Scenes and Surveys
- Pause Story progress while videos are loading
- Concurrent automation processing to reduce latency if more than one automation is triggered at the same time
- Embedded Scenes & Survey support
- New module
urbanairship-automation-compose
to support embedding a Scene & Survey in compose - Added new compound triggers and IAX event triggers
- Ban lists support
- Added new
PrivacyManager.Feature.FEATURE_FLAGS
to control access to feature flags - Added support for multiple deferred feature flag resolution
- Added contact management support in preference centers
- Migrated to non-transitive R classes
- Removed
urbanairship-ads-identifier
andurbanairship-preference
modules
Initial alpha release of SDK 18.0.0. This version is not suitable for a production app, but we encourage testing out the new APIs and providing us feedback so we can make changes before the final SDK 18 release.
The Airship SDK now requires compileSdk
version 34 (Android 14) or higher.
Changes
- Improved image loading for In-App messages, Scenes, and Surveys
- Reset GIF animations on visibility change in Scenes and Surveys
- Pause Story progress while videos are loading
- Migrated to non-transitive R classes
- Check schedule’s start date before executing, to better handle updates to the scheduled start date
- Removed
urbanairship-ads-identifier
andurbanairship-preference
modules
See the Migration Guide for further details.
17.8.1 May 13, 2024
Patch release that improves first run display times for Scenes, Surveys, and In-App Automations.
Changes
- Fixed checking for channel ID being created when preparing a IAX to display causing messages to be delayed late on first run.
- Experiments and IAX that use either personalization or server side segmentation will now block and wait for the channel to become available instead of retrying after 30 seconds.
- Fixed server side segmentation & personalization for the device property
app version
to use the version name instead of the version code for IAX and Feature Flags. This was a regression introduced in 17.0.0. The local audience app version selector will continue to use version code.
18.0.0-alpha May 4, 2024
Initial alpha release of SDK 18.0.0. This version is not suitable for a production app, but we encourage testing out the new APIs and providing us feedback so we can make changes before the final SDK 18 release.
The Airship SDK now requires compileSdk
version 34 (Android 14) or higher.
Changes
- Improved image loading for In-App messages, Scenes, and Surveys
- Reset GIF animations on visibility change in Scenes and Surveys
- Pause Story progress while videos are loading
- Migrated to non-transitive R classes
- Check schedule’s start date before executing, to better handle updates to the scheduled start date
- Removed
urbanairship-ads-identifier
andurbanairship-preference
modules
See the Migration Guide for further details.
17.8.0 April 11, 2024
Minor release that fixes potential crashes when evaluating experiments before a Channel ID has been created. Apps that make use of experiments or holdout groups should update to this version or later.
Changes
- Avoid NPE in
ExperimentManager
when evaluating experiments before a Channel ID has been created.
17.7.4 April 5, 2024
Patch release that fixes a potential crash on Android 13 (API 33) channel ID creation delay after enabling a feature when none was enabled. The SDK will new create the channel ID without having to relaunch the app. Apps that have no features enabled at launch should update to this version or later.
Changes
- Fixed channel ID creation delay after enabling a feature when none was enabled.
- Fixed a potential NPE when reading from intent extras on API 33.
17.7.3 February 17, 2024
Patch release that adjusts locale targeting behavior for In-App Automation and messaging. The SDK will now check the device’s primary language against the target locale, instead of checking whether any user selected languages match the target locale.
Changes
- Adjust locale targeting behavior to only consider the primary locale selection.
17.7.2 January 29, 2024
Patch release that fixes an issue with message limits not being respected in certain cases. Apps that make use of limits should update to this version or later.
Changes
- Fixed message limits not being respected in certain cases.
- Improvements for images and GIFs in Surveys and Scenes.
16.11.2 January 29, 2024
Patch release that fixes an issue with message limits not being respected in certain cases. Apps on SDK v16 that make use of limits should update to this version or the latest 17.x release.
Changes
- Fixed message limits not being respected in certain cases.
17.7.1 December 18, 2023
Patch release that fixes location permission opt-in. Apps that make use of SinglePermissionDelegate
for requesting runtime permissions should update.
Changes
- Fixes location permission opt-in.
17.7.0 December 13, 2023
Minor release that adds support for customizing the stroke/border width for In App Message buttons.
Changes
- Added new
ua_iam_button_stroke_width_dps
dimen for customizing the stroke/border for In App Message buttons.
17.6.0 December 6, 2023
Minor release that adds a new method Contact#notifyRemoteLogin()
that will refresh the local state on the device for named user associations that occur through the server instead of the SDK.
Changes
- Added new
Contact#notifyRemoteLogin()
method
17.5.0 November 9, 2023
Minor release that adds support for server side feature flag segmentation and Impression billing.
Changes
- Added server side segmentation for feature flags
- Added support for Impression billing
- Fixed IAX new user audience condition
17.4.1 November 6, 2023
Patch release that improves modal rendering in Scenes and Surveys.
Changes
- Improved modal size and position handling in Scenes and Surveys.
17.4.0 October 18, 2023
Minor release that adds async live update notification handlers.
Changes
- Added SuspendLiveUpdateNotificationHandler and CallbackLiveUpdateNotificationHandler
- Deprecated LiveUpdateNotificationHandler
17.3.0 September 28, 2023
Minor release that improves refreshing the feeds for in-app experiences and feature flags, adds a new interaction event for feature flags, and fixes an issue that prevented displaying Live Updates during the initial app launch.
Changes
- Improve refresh handling of remote-data for IAX and feature flags.
- Added new method
trackInteraction(flag)
for Feature Flags. - Fixed a Live Update bug that prevented displaying Live Update notifications during the initial app launch.
17.2.1 September 7, 2023
Patch release that hardens the Analytics database against potential SQL crashes.
Changes
- Hardened Analytics database against potential SQL crashes.
17.2.0 August 25, 2023
Minor release that fixes a reporting issue with hold out groups and In-App Messaging. 17.2.0 will be the minimum version required for global hold out groups.
Changes
- Fixed reporting issue with hold out groups and In-App Messaging
17.1.0 July 31, 2023
Minor release that adds support for global holdout groups in In-App experiences and support for feature flags.
Changes
- Added new feature flag module
urbanairship-feature-flag
- Added support for global holdout groups
17.0.3 July 12, 2023
Patch release that fixes a pair of issues with Scenes and Surveys, and adds a new getPushProviderType()
method on PushManager
. Apps that make use of Scenes or Surveys should update.
Changes
- Added a
getPushProviderType()
method onPushManager
, to allow the current push provider to be determined at runtime. - Fixed a rendering issue with Scene and Survey buttons when using more than one line of text for the label.
- Fixed a potential crash that could occur when displaying a modal or fullscreen Scene or Survey.
17.0.2 June 28, 2023
Patch release that improves Scene and Survey rendering for layouts that ignore safe areas.
Changes
- Improved rendering of Scenes and Surveys when ignoring safe areas
17.0.1 June 22, 2023
Patch release that improves image loading for Stories and Scenes, and hardens image loading against potential crashes.
Changes
- Adjust image loading for Scenes and Surveys to improve performance
- Avoid potential crashes when loading many images at once in a Scene or Survey
17.0.0 June 15, 2023
Major SDK release that adds support for Stories, In-App experiences downstream of a sequence in Journeys, and improves SDK auth.
The Airship SDK now requires compileSdk
version 33 (Android 13) or higher.
Changes
- Added support for Stories, a new format for Scenes
- Added support for In-App experiences downstream of a sequence in Journeys
- Updated minimum compile SDK to 33
- Removed Accengage, Location, and Chat modules
- Deprecated
urbanairship-preference
module. Apps should either useurbanairship-preference-center
module or maintain a copy of the current preferences from the preference module. - Deprecated
urbanairship-ads-identifier
module - Video improvements for Scenes
- Log listener has been replaced by a new log handler interface
- Channel listener has been updated to only listen for channel create, channel update has been removed
- Added new
PushNotificationStatus
API that provides the current opt-in status for push notifications - Improved SDK auth
- Default In-App Automation display interval has been changed from 30 seconds to 0 seconds
- The SDK Allow list has been updated to allow opening all URLs by default if neither
urlAllowList
orurlAllowListScopeOpen
have been set in the config. Media URLs for In-App experiences are no longer checked on the allow list. Youtube URLs have been removed from the defaulturlAllowListScopeOpen
.
See the Migration Guide for further details.
Beta release for SDK 17.0.0. This release brings several breaking changes. This version is not suitable for a production app, but we encourage testing out the new APIs and providing us feedback so we can make changes before the final SDK 17 release.
Changes
- Removed Accengage, Location, and Chat modules
- Deprecated
urbanairship-preference
module. Apps should either useurbanairship-preference-center
module or maintain a copy of the current preferences from the preference module. - Deprecated
urbanairship-ads-identifier
module - Video improvements for Scenes & Surveys
- Log listener has been removed and replaced by a log handler.
- Channel listener has been updated to only listen for channel create, channel update has been removed
- Added new PushNotificationStatus and PushNotificationStatus flow that provides the current status of push notifications
16.11.1 June 14, 2023
Patch release that fixes app deep links that use the uairship://
prefix. Any uairship://
deep links that are not handled by Airship directly will now be delivered to the DeepLinkListener
.
Changes
- Allow the
DeepLinkListener
to process unhandleduairship://
deep links
16.11.0 June 12, 2023
Minor release that adds new config option autoPauseInAppAutomationOnLaunch
to always pause IAA during app launch.
Changes
- Added
autoPauseInAppAutomationOnLaunch
config option
16.10.0 June 2, 2023
Minor release that adds support for Android Live Updates, which bring functionality similar to iOS Live Activities to the Android platform. Live Updates make it easier to keep information updated in real time instead of receiving multiple notifications from the same app for things like a game’s latest score, food delivery status, or rideshare arrivals.
Changes
- Added new
urbanairship-live-update
module.
16.9.3 May 24, 2023
Patch release that includes fixes for Preference Center, Scenes & Surveys, and Message Center.
Changes
- Fixed a bug that could cause tag actions to not be run on the first page of a Scene.
- Fixed an issue with window resizing in Scenes and Surveys to prevent the keyboard from covering the input field.
- Fixed Preference Center contact subscription chips to avoid duplicate chips when scrolling a long Preference Center.
- Fixed
sms:
,tel:
andmailto:
link handling in Message Center, when using custom HTML and<a>
tags.
16.9.2 April 6, 2023
Patch release that fixes Preference Center subscription list state when switching named users. Apps using Preference Center that apply multiple named user IDs during an app session should update.
Changes
- Fixed a bug that could cause locally cached subscription list states to be in an incorrect state when switching named users.
16.9.1 March 24, 2023
Patch release that fixing Contact update merging order, improves Scene/Survey accessibility and reporting.
Changes
- Fixed Contact update merge order, resolving a Preference Center bug that could lead to unexpected subscription states in some circumstances.
- Improved Scene/Survey accessibility and fixed a reporting bug related to form display events.
- Removed library group restriction annotation on
AirshipConfigOptions.Builder.setInitialConfigUrl
.
16.9.0 March 2, 2023
Minor release that adds ForegroundNotificationDisplayPredicate
on PushManager
, a new isPromptForPermissionOnUserNotificationsEnabled
config flag, and other improvements/fixes.
Changes
- Added a new
ForegroundNotificationDisplayPredicate
onPushManager
, to allow apps to control whether notifications will be posted for pushes received in while the app is in the foreground. - Added a new optional
isPromptForPermissionOnUserNotificationsEnabled
config flag (default:true
), to control whether the SDK will automatically prompt for notification permission when callingPushManager.setUserNotificationsEnabled(true)
. - Improved French localized strings.
- Fixed vertical alignment for button text with icons in In-App Messages.
- Fixed an Android 13 notification permission prompt regression in v16.8.1.
- Added support for transparent web views for HTML In-App Automations.
16.8.1 February 9, 2023
Patch release to prevent prompting for user notifications until after onAirshipReady is called.
Changes
- Prevent user notifications prompt before onAirshipReady.
16.8.0 November 2, 2022
Minor release that adds support for custom Airship domains.
Changes
- Adds support for setting the initialConfigUrl when using custom domains.
16.7.5 October 5, 2022
Patch release that fixes an issue with the HMS push provider, improves WebView Safe Browsing for supported devices, and avoids Strict Mode warnings related to clipboard operations.
Changes
- Ignore calls to
processNewToken
on HMS, if the new token is identical to one we’ve received previously. - Wait for start Safe Browsing callback before loading URLs in WebViews, to improve security.
- Move clipboard copy operations for actions and Channel capture to a background thread.
16.7.4 September 20, 2022
16.7.3 September 9, 2022
16.7.2 September 2, 2022
Patch release that fixes a Message Center data migration and prevents any exceptions with failed migrations going forward.
Changes
- Fix crashes due to Message Center database migrations.
16.7.1 August 12, 2022
Patch release that prevents potential crashes when downloading files.
Changes
- Fix potential crashes during file downloads.
16.7.0 July 29, 2022
Minor release that adds support for sending a new isActive
attribute on channel registration updates, improves accessibility descriptions for Preference Center subscription list items, and improves initialization of the Airship SDK for apps that make use of dependency-injection frameworks.
Changes
- Channel registration will now send up
isActive
when updating registration in the foreground, for better MAU tracking. - Added the ability to initialize the Airship SDK without any external dependencies, to better support apps that initialize Jetpack WorkManager via dependency-injection frameworks.
- Improved accessibility descriptions for Preference Center subscription list items.
- Location integration with Airship can be replaced with setting a location permission delegate on
PermissionsManager
. - Fixed subscription list action.
16.6.1 June 30, 2022
Patch release that fixes issues with ADM push provider and a bad room migration when updating the SDK to a version before SDK 15.1 to SDK 16.5.1. Apps using SDK 15.0.0 and lower should update directly to SDK 16.6.1 or newer.
Changes
- Added consumer proguard rules to prevent ADM crashes when using ADM push provider.
- Fixed ADM crash on older ADM devices.
- Fixed Message Center invalid schema exceptions.
16.6.0 June 22, 2022
Minor release that adds support for Android 13 (API 33) and fixes a Preference Center issue that could occur under poor network conditions.
Changes
- Adds support for the new notification permissions prompt in Android 13 for apps that target API 33, with fallback prompt support on older API levels.
- Fixed Preference Center to always display the correct toggle states when navigating away and back to Preference Center under poor network conditions.
16.5.1 June 8, 2022
Patch release that fixes an issue that could potentially lead to duplicate messages in the Message Center Inbox table.
Changes
- Prevent duplicate messages in the Inbox table and clean up duplicates, if any are present.
16.5.0 May 17, 2022
Minor release that fixes ADM registration on Windows 11 Android subsystem.
Changes
- Updated the ADM plugin to the version 1.1.0
- Fixed using restricted App Compat APIs in Scenes & Surveys
16.4.0 May 4, 2022
Minor release that adds support for randomizing response order in a Survey, adds a new delegate method to InAppMessageManager that controls when a message can be displayed, and fixes several issues with Scenes & Surveys reporting. Apps using Scenes & Surveys should update.
Changes
- Added new
InAppMessageManager.setDisplayDelegate
method that can control when a message is able to be displayed. - Added support for randomizing Survey responses.
- Added subscription list action.
- In-App rules will now attempt to refresh before displaying. This change should reduce the chances of showing out of data or cancelled in-app automations, scenes, or surveys when background refresh is disabled.
- Updated localizations. All strings within the SDK are now localized in 48 different languages.
- Improved accessibility with OOTB Message Center UI.
- Fixed reporting issue with a single page Scene.
- Fixed rendering issues for Scenes & Surveys.
- Fixed a crash in Scenes on Android 8.
- Fixed Survey attribute storage.
16.3.3 March 5, 2022
A patch release that fixes potential crashes in the urbanairship-automation module when displaying certain Scenes and Surveys on older API levels.
Changes
- Fixed potential crashes in Scenes and Surveys on Android 6 and below.
16.3.2 March 4, 2022
A patch release that fixes a potential crash with the splash screen Jetpack library when using banner in-app messages.
Changes
- Remove check for container view on Activity#onCreate for banner in-app messages
16.3.1 February 18, 2022
A minor release that fixes Preference Center and Automation issues.
Changes
- Fixed PreferenceCenter theme attribute for chip style when embedding the Fragment directly.
- Fixed a PreferenceCenter crash that impacted Android 6 and below.
- Fixed a potential crash in Scenes and Surveys on Android 6 and below.
16.3.0 February 8, 2022
A minor release that adds support for multi-channel Preference Center. Currently, these features are only available to customers in Airship’s Special Access Program. Please reach out to your account manager for more details.
Changes
- Added support for multi-channel Preference Center.
- Added scoped subscription lists to contacts.
- Added methods to associate email, SMS, and open channels to a contact.
16.2.0 January 25, 2022
A minor release that adds support for two new features, Scenes and Surveys. Currently, these features are only available to customers in Airship’s Special Access Program. Please reach out to your account manager for more details.
This version also includes a fix for a subset of devices sending duplicate events, and to reduce the number of retries when the device has an internet connection but Airship traffic is blocked on the network. Devices running SDK 15+ should update.
Changes
- Added support for Scenes and Surveys
- Fixed devices sending duplicate events
- Fixed In-App Automation session trigger skipping sessions when automations are paused then resumed
- Reduce number of retries when Airship traffic is blocked on the network
16.1.1 January 4, 2022
Patch release that fixes Message Center crashes and issues.
Changes
- Fixed marking messages as read or deleting messages in Message Center.
- Fixed a crash when enabling Message Center feature.
- Fixed a crash when deleting 1000+ messages in Message Center.
16.1.0 November 16, 2021
Minor release that adds a new chat action and has some minor fixes for Accengage, Chat, and the Preference center module.
Changes
- Added send chat action
- Fixed showing the preference center loading indicator if the content is already loaded
- Updated the kotlin-coroutine-core dependency on chat to kotlin-coroutine-android
- Fixed treating a push with both Accengage and Airship keys as Accengage instead of Airship.
16.0.0 October 19, 2021
Major release that adds support for targeting Android 12 (API 31), upgrades SDK dependencies, and updates the minimum required compile SDK version to API 31. No other breaking API changes are included in this release.
Changes
- Updated compile and target version to 31
- Updated Java source and target compatibility versions to 1.8
- Updated SDK dependencies
See the Migration Guide for further details.
15.1.0 October 2, 2021
Minor release that adds support for specifying route_agent
values and passing single
messages to prepopulate into Airship Chat via deep link.
Changes
- Added support for handling
route_agent
andprepopulated_message
params on Airship Chat deep links. - Updated
14.5
migration guide andPrivacyManager
javadoc to clarify usage. - Updated
14.x - 15.x
migration guide with instructions for enablingFEATURE_CONTACTS
.
15.0.0 September 15, 2021
Major release that adds support for Airship Preference Center, Subscription Lists, and Contacts. This release removes support for overriding Firebase sender ID to a non-default Firebase project. Firebase currently recommends using a single Firebase project for both Crashlytics and Cloud Messaging.
Changes
- Added new module
AirshipPreferenceCenter
. - Added new subscription lists APIs for Channel.
- Replaced
NamedUser
withContact
, which allows setting data on a user without an external ID (Named User ID). - Added Dokka for generation of Kotlin documentation.
See the Migration Guide for further details.
14.6.0 August 4, 2021
Minor release that adds Airship Chat routing support.
Changes
- Added support for specifying a routing string in Airship Chat for directing messages to a particular agent.
- Added a
try/catch
around network callback register and unregister inNetworkMonitor
, to prevent crashes on a small subset of devices.
14.5.1 June 21, 2021
Patch release that updates the version of firebase-messaging
used by urbanairship-fcm
and adds
a dependency on firebase-iid
to maintain support for overriding fcmSenderId
to a non-default
Firebase project. This configuration is no longer recommended by Firebase and may not be supported
in future versions of the Airship FCM module. Firebase currently recommends using a single Firebase
project for Crashlytics and Cloud Messaging.
Changes
- Updated
firebase-messaging
to version22.0.0
. - Added
firebase-iid
dependency tourbanairship-fcm
. - Added a warning log message if
fcmSenderId
is being overridden to a non-default Firebase project. - Marked
fcmSenderId
and related setter methods inAirshipConfigOptions
as@Deprecated
.
14.5.0 June 4, 2021
Minor release changing how the SDK handles data collection by introducing the privacy manager. Privacy manager allows fine-grained control over what data is allowed to be collected or accessed by the Airship SDK.
Changes
- Added privacy manager
- Deprecated existing data collection flags
See the Migration Guide and the Data Collection docs for further details.
14.4.4 May 27, 2021
Patch release with updates to support targeting the Android S preview SDK.
Changes
- Explicitly declare
exported
for all<intent-filter>
declarations in manifest files. - Set explicit mutability flags on all uses of
PendingIntent
. - Removed databinding in
urbanairship-chat
.
14.4.3 May 19, 2021
Patch release that fixes auto scrolling the live chat message list in the ChatFragment
when a message is received and
removes some of the urbanairship-chat
dependencies to make the module easier to generate Xamarin
bindings.
Changes
- Drop
*-ktk
jetpack dependencies andkotlin-serialization
from urbanairship-chat module. ChatFragment
now auto scrolling the list when a message is received.
14.4.2 May 13, 2021
Patch release to fix styling of IAA banner buttons when using a Material theme.
Changes
- Fix IAA banner button custom styling when using a Material theme.
14.4.1 May 7, 2021
Patch release to fix full screen In-App Automation reporting events when a user taps a button.
We are no longer able to deploy to JCenter. Updates will only be available through Maven Central going forward.
Changes
- Fixed IAA full screen reporting events reporting as dismissed instead of button click
- Remove JCenter deploys
14.4.0 April 26, 2021
Minor release that adds support for Airship Live Chat and drops support for Android KitKat and Jelly Bean.
Changes
- Added new
urbanairship-chat
module. - Updated
minSdkLevel
to API 21. - Added
isAccengageVisiblePush()
and updatedisAccengagePush()
to support checking if an Accengage push is a message with content or a silent push. - Updated Accengage module to fall back to Airship accent color and notification icon.
14.3.0 March 11, 2021
Minor release that drops support for uploading historic location data to Airship. The location module can still be used to listen for location updates within the app and will be deprecated in a future release.
Changes
- AirshipLocationManager will no longer upload lat/longs to Airship.
- Removed max border radius validation to allow more than 20dps for in-app automations.
14.2.0 February 18, 2021
Minor release that uses WorkManager for more reliable task management and better support for Instant Apps.
Changes
- Replaced JobScheduler with WorkManager.
- Added tag editor methods to the NativeBridge.
- Added ability to set NamedUser through the NativeBridge.
14.1.3 February 12, 2021
Patch release fixing a crash related to deferred IAA schedule logging. This issue only affects log levels debug and below, which by default are not enabled in production.
Changes
- Fixed misformatted log message in IAA
- Additional safety in LoggingCore
14.1.2 February 4, 2021
Patch release improving SDK stability and to fix FCM config overrides.
Changes
- Fixed not using FCM sender ID override in Airship Config
- Fixed SQLException crashes in the Automation module.
- Fixed SecurityException when accessing the TelephonyManager.
- Added error log if the URL Allow list is unmodified for SCOPE_OPEN.
14.1.1 December 30, 2020
com.urbanairship.push.iam.EXCLUDE_FROM_AUTO_SHOW
metadata entry in the AndroidManifest.xml
.14.1.0 December 16, 2020
Minor release adding support for frequency limits and advanced segmentation to In-App Automation, as well as new custom event templates.
Changes
- Added frequency limits support to IAA
- Added support for advanced IAA segmentation
- Added a new search event template
- Added wishlist options to retail event template
- Added sms:, tel:, and mailto: to default allow list settings
- IAA messages no longer redisplay if interrupted due to app termination
14.0.3 December 1, 2020
14.0.2 October 29, 2020
Patch release optimizing named user tag group cache usage in In-App-Automation.
Changes
- IAA tag group cache is now cleared when a named user is associated or disassociated
14.0.1 September 23, 2020
14.0.0 September 3, 2020
Airship SDK 14 is a major update that prepares our automation module to support future IAA enhancements, revamps the Channel Capture tool, and provides other improvements.
The majority of apps will only be effected by the new UrlAllowList
behavior changes.
Changes
- BEHAVIOR CHANGE All URLs are not verified by default. Applications that use open URL action, landing pages, and custom in-app message image URLs will need to provide a list of URL patterns that match those URLs for SCOPE_OPEN_URL. The easist way to go back to 13.x behavior is to add
urlAllowListScopeOpenURL = *
to the AirshipConfig. - Channel Capture tool now detects a
knock
of 6 app opens in 30 seconds. Instead of displaying anything to the user, the tool will write the current channel ID to the clipboard. - Whitelist class and terminology removed and replaced with UrlAllowList.
- ActionAutomation and InAppMessageManager have been combined into InAppAutomation.
- InAppAutomation APIs have been updated to support future IAA enhancements. See migration guide for details.
- Removed deprecated APIs.
- Added sourcesJar maven artifact to each module, this allows browsing source code and java docs directly from Android Studio.
13.3.5 August 28, 2020
13.3.4 August 27, 2020
13.3.3 August 24, 2020
13.3.2 July 28, 2020
13.3.1 July 20, 2020
Patch release to fix ADM registration exceptions that occur on first run and text alignment issues with In-App Automation. Any apps that are configured to run ADM and are running 13.0.0 - 13.3.0 should update.
Changes
- Fixed In-App Automation text alignment.
- Fixed ADM registration crash.
13.3.0 July 16, 2020
Minor release that allows overriding the locale used by Airship.
Changes
- Added locale override.
- Fixed IllegalStateException in NotificationProxyActivity.
13.2.2 July 10, 2020
addAuthRequestCredentials
and
removeAuthRequestCredentials
public instead of package-private.13.2.1 June 24, 2020
Patch release to fix In-App automation display intervals being ignored if the app is killed and HMS token registration on older Huawei devices.
Changes
- Fixed display interval not being respected if app is killed.
- Fixed HMS on older Huawei devices.
- Removed debug logs from Autopilot.
13.2.0 June 16, 2020
Minor release to handle target="_blank"
URLs in Message Center and HTML In-App messages. This release also adds extendedBroadcastsEnabled
that once enabled, will broadcast the app key and channel for easier partner integrations.
Changes
- Fixed possible background ANRs when processing location updates.
- Fixed SecurityException when checking if location updates are enabled.
- Open URLs in an external browser if the target is set.
- Added extendedBroadcastsEnabled config flag to broadcast when Airship is ready with the channel and app key, and when the channel is created.
13.1.2 May 26, 2020
Patch release to improve window inset handling for In-App message banners.
Changes
- Use standard window insets for banners instead of root insets.
13.1.1 May 22, 2020
Patch release to fix banner In-App messages displaying behind translucent navigation and status bars.
Changes
- Fixed window insets on banners
13.1.0 May 4, 2020
Minor release that adds Named User attributes.
Changes
- Added Named User attributes.
- Fixed NPE when retrying a failed video URL in IAA after the view has been detached from the window.
- Fixed logging an error message on registration failure due to using Huawei PushKit auto init feature on first run. The error was misleading as the registration will retry immediately after Push Kit is initialized.
13.0.0 April 17, 2020
Major release that adds support for enhanced custom events, date attributes, HMS push provider, and breaks
the urbanairship-core
module into several modules: urbanairship-core
, urbanairship-message-center
, urbanairship-automation
, and urbananairship-location
. This allows apps to pull in only the feature modules they use. Most of the changes in this release reflect the restructuring that makes this possible.
Changes
- Break out feature modules from
urbanairship-core
:urbanairship-message-center
: Message Centerurbanairship-automation
: InApp Automation/Messaging, Landing Page Action, and Action Automationurbananairship-location
: Airship Location
- Updated CustomEvents to allow arbitrary JSON as properties.
- Added module
urbanairship-hms
that adds support for Huawei Mobile Services (HMS). - Added date attribute support.
- Removed usage of deprecated AsyncTask.
- Removed deprecated APIs.
Categories