Skip to content

Releases: OneSignal/OneSignal-Android-SDK

3.3.1 Release

13 Oct 20:40

Choose a tag to compare

  • Background images on notifications will now be top left aligned.
    • Set string key onesignal_bgimage_notif_image_align to right to change alignment.
    • Alignment was centerCrop in previous releases.
    • Background images are now only supported on Android 4.1+.
  • Added syncHashedEmail validation.

3.3.0 Release

20 Sep 20:00

Choose a tag to compare

manifestApplicationId and Hardware id remove and postNotification fix

  • manifestApplicationId no longer needs to be set, default applicationId is now used.
  • Removed used of fallback hardware ids.
  • PostNotificationResponseHandler.onFailure now always returns a JSONObject with an error.

3.2.0 Release

13 Sep 20:59

Choose a tag to compare

Stability, no sound payload option, and Location sharing setting

Features

  • Setting Android sound name to "null" or "nil" disables the notification's sound.
  • Location sharing can be disabled with setLocationShared.

Fixes

  • Rare crash fixes
    • Null error from services on boot. Issue #99
    • Null error due to events sometimes out of order on FireOS when registering for ADM. Issue #92
    • Null error when cold resuming from the location prompt on Android 6. Issue #71
    • Location prompt attempting to be shown on Android API 22 and lower Issue #105
  • getTags now correctly returns values on 2nd and following calls. Issue #97
  • zh-Hant language detection. Issue #98
  • Fixed reported subscription errors that show on the OneSignal dashboard.

3.1.1 Release

31 Aug 21:35

Choose a tag to compare

Added removeNotificationReceivedHandler for use with other SDKs.

3.1.0 Release

26 Aug 04:38

Choose a tag to compare

  • Fixed field names with notification classes
  • Fixed very rare concurrency issue with user update network call.

3.0.4-rc1 Release

19 Aug 02:09

Choose a tag to compare

  • Fixes for closed database errors due to race conditions.
  • SyncService keeping process in memory fix.

3.0.3 Release

17 Aug 20:50

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

Choose a tag to compare

Fixed Google Play services app out of date issue

3.0.1 Release

13 Aug 00:03

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

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.