You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments