Releases: OneSignal/OneSignal-Android-SDK
Releases · OneSignal/OneSignal-Android-SDK
2.6.1 Release
- 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
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
andonesignal_bgimage_notif_body_color
in yourvalues/colors.xml
to set text colors to match your image.
- Add a drawable named
- Added additional checks for Google Play services.
2.5.2 Release
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
Fixes exception on cold start when restoring notifications
- Introduced in 2.5.0.
2.5.0 Release
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
andcancelNotification
methods.- You must use them if you need to programmatically dismiss notifications otherwise they will be restored.
- Added
androidNotificationId property
toNotificationExtenderService.OverrideSettings
. - Since notifications are restored this fixes badge count out of sync issues.
2.4.3 Release
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
Fixed Rare ConcurrentModificationException error
2.4.1 Release
NotificationExtenderService property fix
- Fixed issue where some properties such as
additionalData
were not getting set.
2.4.0 Release
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
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.