Releases: urbanairship/android-library
10.0.1
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
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.
Changes
Packages
- Removed
urbanairship-sdk
andurbanairship-gcm
. Apps should useurbanairship-fcm
and/orurbanairship-adm
instead. - Preferences (com.urbanairhsip.preferences) have been moved into their own
moduleurbanairship-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.
9.7.1
Fixed a security issue within Urban Airship SDK, that could allow trusted URL redirects in certain
edge cases. All applications that are using Urban Airship SDK 9.0.0 - 9.7.0 should update as soon as
possible. For more details, please email security@urbanairship.com.
9.7.0
Minor release that allows listing for Urban Airship log messages.
Changes
- Added ability to listen for logs using a LoggerListener on the Logger class.
- Modal, HTML in-app automation window animations are now defined in the style sheets to
make them easier to override.
9.6.1
Changes
- SDK will now catch any exceptions when attempting to post a notification. None of the notification
factories provided by the SDK exhibit this behavior, but it's possible that a custom notification
factory could produce an exception. - Fix potential crash when attempting to register with FCM if proguard is not configured properly.
- Fix modal In-App Automation message animations.
- The UAWebViewClient will no longer attempt to fetch favicons.
9.6.0
Minor release that targets Android P and updates dependencies.
Changes
- Updated compile and target SDK version 28 (Android P)
- Updated urbanairship-core dependencies:
- Support library version to 28.0.0
- Optional play-services-location to 16.0.0
- Optional play-services-ads-identifier to 16.0.0
- Updated urbanairship-fcm dependencies:
- firebase-messaging to 17.3.4
- play-services-base to 16.0.1
- Updated urbanairship-gcm dependencies:
- play-services-gcm to 16.0.0
9.5.6
9.5.5
Patch release that fixes an issue with Autopilot. If early take off was disabled it would prevent the display of push notifications. Apps that disable early take off should update.
Changes
- Fixed PersistableBundle NPE.
- Fixed ChannelCapture tool sometimes throwing an exception.
- Attempt automatic take off when receiving a new push or token from FCM.
- Marked
RichPushUser#update(boolean)
as library only. Applications should not call this method. It
is handled internally by the SDK.