Skip to content

Releases: urbanairship/android-library

9.7.2

03 Mar 00:13
Compare
Choose a tag to compare

Fixes an issue where push message could result in duplicate push notifications. Applications that are
running 9.4.0 - 9.7.1 should update.

Changes

  • Fixes issue with double processing messages on older devices.

11.0.3

03 Mar 00:13
a04222b
Compare
Choose a tag to compare

Patch release to fix direct open reporting for notifications when an activity is resumed from
the background. Applications running 11.x should update.

Changes

  • Fixed direct open attributions for push notifications.

10.1.1

03 Mar 00:13
Compare
Choose a tag to compare

Patch release to fix direct open reporting for notifications when an activity is resumed from
the background. Applications running 10.x should update.

Changes

  • Fixed direct open attributions for push notifications.

11.0.2

03 Mar 00:13
a5658a2
Compare
Choose a tag to compare

Patch release to fix an issue with not starting a custom activity with the intent filter action
com.urbanairship.VIEW_RICH_PUSH_MESSAGE for custom MessageCenter implementations and a fix for
a minor fullscreen In-App Automation style issue. Apps that have custom message center implementations
should update.

Changes

  • Fixed not starting an activity for the intent action com.urbanairship.VIEW_RICH_PUSH_MESSAGE.
  • Fixed top padding on the fullscreen In-App Automation when the header is the top most element.

10.1.0

03 Mar 00:13
Compare
Choose a tag to compare

Minor release that backports changes and fixes from 11.0.2 release.

Changes

  • Updated banner in-app message adapter to make it easier to customize the banner view.
  • Fixed not starting an activity for the intent action com.urbanairship.VIEW_RICH_PUSH_MESSAGE.
  • Fixed top padding on the fullscreen In-App Automation when the header is the top most element.
  • Synchronize use of SimpleDateFormat instance across threads.

11.0.1

03 Mar 00:13
Compare
Choose a tag to compare

Patch release to fix a rare crash caused by accessing a SimpleDateFormat across multiple threads.

Changes

  • Synchronize use of SimpleDateFormat instance across threads.

11.0.0

03 Mar 00:13
d60121f
Compare
Choose a tag to compare

Major release that migrates from the Android Support Libraries to the Jetpack (AndroidX) Libraries.
Applications are required to migrate to Android X before using this version. For more info, see
Migrating to AndroidX

Changes

  • Migrated to AndroidX.
  • Updated banner in-app message adapter to make it easier to customize the banner view.
  • Allow defining notification channel sound with a raw resource ID through XML instead of a URL.

10.0.2

03 Mar 00:13
d533cc2
Compare
Choose a tag to compare

Patch release to fix issues with the banner in-app message type and background location updates on Android O+.

Changes

  • Fixed banner in-app messages not dismissing when clicking the banner body.
  • Fixed banner in-app messages not auto dismissing.
  • Fixed background location updates on Android O+.

10.0.1

03 Mar 00:13
Compare
Choose a tag to compare

Patch release fixing a minor regression in AirshipNotifiationProvider when overriding small icon resources via the push API.

Changes

  • AirshipNotificationProvider defaults to the small icon specified in
    the PushMessage, if available.
  • AirshipNotificationProvider uses getters instead of instance variables
    when building its default NotificationArguments.

10.0.0

03 Mar 00:13
Compare
Choose a tag to compare

Major release that addresses new background restrictions with Android Q, includes enhancements to In-App Automation, and adds notification channel compatibility to simplify notification channel settings across Android versions.

9.x to 10.x Migration Guide

Changes

Packages

  • Removed urbanairship-sdk and urbanairship-gcm. Apps should use urbanairship-fcm
    and/or urbanairship-adm instead.
  • Preferences (com.urbanairhsip.preferences) have been moved into their own
    module urbanairship-preferences. The new
    preferences use the preference support library instead of the deprecated system preferences.
  • Advertising ID tracking has been moved into its own module urbanairship-ads-identifier.
  • Updated to Firebase Messaging 18.0.

Notifications

  • NotificationFactory has been deprecated and replaced with a more flexible
    NotificationProvider interface.
  • AirshipReceiver has been removed and replaced with 3 new listeners on the PushManager
    class: NotificationListener, PushListener, and RegistrationListener.
  • The notification's push message is now available in the launched activity intent.
  • Added notification channel compat that works on Android 16 (Jellybean) and newer devices.

In-App Automation

  • Added support for localized messages.
  • Button resolution events can be generated from HTML messages via the native bridge.
  • Display coordinator architecture for more flexible custom display management.
  • There is a new, app-extendable, mechanism for caching the message's assets.
  • Banner messages now use a view group rather than a fragment, as system fragments were
    deprecated in Android P.
  • Landing Pages are now scheduled as an HTML IAA.

Other

  • Updated APIs for better kotlin interop support.
  • Apps can now provide their own image loader.
  • Added DeepLinkListener to make it easier to customize deep link handling.
  • Removed styleable attribute urbanAirshipFontPath. Applications should use the
    Android xml font support instead.
  • Builder factory methods and from JSON methods have been normalized throughout the SDK.
  • Added OnShowMessageCenterListener that can be set on the Message Center to make it
    easier to perform custom message center actions.

Bug fixes

  • Fixed incorrect font in Message Center Listing.
  • Fixed an error when loading the favicon in Message Center.
  • Fixed potential ANR if notifications actions take longer than 10 seconds to complete.
  • Fixed potential resource-not-found exception on app update for legacy in-app messages
    when using messages with button drawables.