Skip to content

Commit 8d0481b

Browse files
authored
Release 9.4.0 (#422)
* Release 9.4.0 * Typos
1 parent 8827154 commit 8d0481b

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
lines changed

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,29 @@ Android ChangeLog
33

44
[Migration Guides](https://github.com/urbanairship/android-library/tree/master/documentation/migration)
55

6+
Version 9.4.0 - July 19, 2018
7+
=============================
8+
9+
Minor release that adds new NotificationFactory APIs to better handle limited background
10+
time when building notifications. This release also addresses ANRs from the GCM and ADM
11+
Broadcast Receiver that occur when notification building takes longer than 10 seconds when
12+
using a custom notification factory. To avoid the ANR, the braodcast will wait a max of 10
13+
seconds before finishing received broadcast instead of waiting for the notificaiton to
14+
finish. This will prevent the ANR from occurring, but the OS might kill the app before it
15+
has time to display the notification and it will be lost. To avoid this issue, either use
16+
`NotificationFactory#createNotificationResult(PushMessage, int, boolean)` to retry later
17+
if the notification is taking too long, or if the notification requires more than 10 seconds
18+
use `NotificationFactory#requiresLongRunningTask(PushMessage)`.
19+
20+
Changes
21+
-------
22+
- Deprecated `NotificationFactory#createNotificationResult(PushMessage, int)` in favor of `NotificationFactory#createNotificationResult(PushMessage, int, boolean)` that also tells the factory if it has longer than 10 seconds to build the notification.
23+
- Added listener to the WhiteListing class to reject URLs.
24+
- Added method to generate AirshipConfigOptions from a Properties instance.
25+
- Fixed ANRs caused by slow notification builds in custom factories when using GCM or ADM modules.
26+
- Fixed issue where HTML in-app automation messages were cancelled instead being displayed.
27+
28+
629
Version 9.3.2 - June 28, 2018
730
=============================
831

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ One of our engineers will verify receipt of the agreement before approving your
2828
...
2929
3030
// Urban Airship SDK - FCM
31-
implementation 'com.urbanairship.android:urbanairship-fcm:9.3.2'
31+
implementation 'com.urbanairship.android:urbanairship-fcm:9.4.0'
32+
implementation 'com.google.firebase:firebase-core:16.0.1'
3233
}
3334
```
3435

airship.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Airship Version - major.minor.patch
2-
version = 9.3.2
2+
version = 9.4.0
33

44
# Airship Version Qualifier beta, release, etc...
55
#versionQualifier = beta

sample/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ dependencies {
3737

3838
// Urban Airship - FCM
3939
implementation project(':urbanairship-fcm')
40+
implementation 'com.google.firebase:firebase-core:16.0.1'
41+
4042

4143
// Allows Urban Airship location services to use Fused Location
4244
implementation "com.google.android.gms:play-services-location:${airshipProperties.playServicesLocationVersion}"

0 commit comments

Comments
 (0)