Skip to content

Releases: OneSignal/OneSignal-Android-SDK

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.

2.4.3 Release

21 Jun 01:54
Compare
Choose a tag to compare

Fixed badge and button regression bugs

  • Fixed 2.2.0 bug where if no launcher was set (no app icon) a null exception would be thrown.
  • Fixed 2.4.0 bug where notification buttons would not work unless a NotificationExtender was setup.

2.4.2 Release

17 Jun 22:39
Compare
Choose a tag to compare

Fixed Rare ConcurrentModificationException error

2.4.1 Release

02 Jun 18:30
Compare
Choose a tag to compare

NotificationExtenderService property fix

  • Fixed issue where some properties such as additionalData were not getting set.

2.4.0 Release

25 May 07:58
Compare
Choose a tag to compare

NotificationExtenderService and misc fixes

  • NotificationExtenderService allows omiting of notificaions and overriding specific properties in your app's code. See the Background Data and Notification Overriding documentation section for more details.
  • getTags now pulls from OneSignal instead of returning local values.
  • Fixed a permissions crash affecting a small number of devices.

2.3.0 Release

11 Apr 21:42
Compare
Choose a tag to compare

Added setEmail, default accent color option, fixed badge issue.

  • Added setEmail method.
  • Added com.onesignal.NotificationAccentColor.DEFAULT manifest option.
  • Fixed issue a null context error with badge counts.