Skip to content

Releases: OneSignal/OneSignal-Android-SDK

3.0.3 Release

17 Aug 20:50
Compare
Choose a tag to compare

Stability Fixes and getTags Fix

  • Fixed rare crashes
    • If app was closed while generating a notification. Issue #88
    • Race condition when a notification was opened. Issue #45
    • When restoring an old summary notification.
  • getTags fix where some tags could be missing.
  • Extra network calls when using sendTags.

3.0.2 Release

15 Aug 03:39
Compare
Choose a tag to compare

Fixed Google Play services app out of date issue

3.0.1 Release

13 Aug 00:03
Compare
Choose a tag to compare
  • Fixed rare crash if your app was stopped while generating a notification. Issue #84
  • Fix extra network calls if using sendTags and their was a delay registering for push.

3.0.0 Release

05 Aug 23:40
Compare
Choose a tag to compare
  • New NotificationOpenedHandler signature with a instance of OSNotificationOpenResult.
  • New NotificationReceivedHandler event settable with setNotificationReceivedHandler on OneSignal.Builder.
  • New OSNotificationReceivedResult passed to NotificationExtenderService
    • More descriptive OSNotificationPayload property names with rawPayload.
  • Session count improvements.
  • syncHashedEmail - New optional method that sends OneSignal the user's email as an anonymized hash so that we can better target and personalize notifications sent to that user across their devices.
  • Badge support for newer Sony launchers and added Huawei launcher support.
  • Fix for white circle or square small notification icon Android 5.0+ devices. (API level 21).
    • If you do not create your own drawable named ic_stat_onesignal_default, a notification bell icon will be provided instead of using the app icon.
  • In app alert changes
    • In app alerts are now shown by default instead of just firing an event.
    • New OSInFocusDisplayOption enum with InAppAlert, Notification, and None options settable with inFocusDisplaying from OneSignal.Builder.
      • This replaces enableInAppAlertNotification and enableNotificationsWhenActive.
    • Button text changed from "Close" to "Ok".
      • Configurable by setting a onesignal_in_app_alert_ok_button_text key in your string.xml.
  • postNotification now allows override of app_id.
  • lockScreenVisibility default read value fix.
  • Fixed rare issue where an out of date Google Play services app would unsubscribe the device when it may still be valid.
  • Added more subscription statuses for Google Play services initialization errors.

2.6.2 Release

28 Jul 04:22
Compare
Choose a tag to compare

ConcurrentModificationException fixes

2.6.1 Release

25 Jul 23:51
Compare
Choose a tag to compare
  • Notifications receiver more than 1 week ago will no longer be restored.
  • New Google Play services out date prompt features.
    • Added disableGmsMissingPrompt method to the OneSignal.Builder class.
    • Added new strings.xml keys to control the language of the prompt
      • onesignal_gms_missing_alert_text
      • onesignal_gms_missing_alert_button_update
      • onesignal_gms_missing_alert_button_skip
      • onesignal_gms_missing_alert_button_close
  • Fixed Indonesian language detection.

2.6.0 Release

08 Jul 08:24
Compare
Choose a tag to compare

Background image support and misc fixes

  • Can now set background images on notifications.
    • Add a drawable named onesignal_bgimage_default_image to use for all notifications.
    • Set onesignal_bgimage_notif_title_color and onesignal_bgimage_notif_body_color in your values/colors.xml to set text colors to match your image.
  • Added additional checks for Google Play services.

2.5.2 Release

06 Jul 03:31
Compare
Choose a tag to compare

Checks GooglePlayServicesUtil and fixed gms prompt

  • Fixed prompt for out of date Google Play services.
  • Added check for GooglePlayServicesUtil to better detect missing gms components.

2.5.1 Release

30 Jun 18:47
Compare
Choose a tag to compare

Fixes exception on cold start when restoring notifications

  • Introduced in 2.5.0.

2.5.0 Release

28 Jun 21:26
Compare
Choose a tag to compare

Notifications now restore when removed by the system

  • Notifications are now restored to the notification shade when they were cleared by Android itself.
    • Includes package upgrades, device reboots, and each time the app is cold started (to restore from the 'force stopped' state).
  • Added clearOneSignalNotifications and cancelNotification methods.
    • You must use them if you need to programmatically dismiss notifications otherwise they will be restored.
  • Added androidNotificationId property to NotificationExtenderService.OverrideSettings.
  • Since notifications are restored this fixes badge count out of sync issues.