Skip to content

Releases: OneSignal/OneSignal-Android-SDK

3.4.4 Release

18 Apr 00:29
Compare
Choose a tag to compare

Fixes and Improvements across the board

Downgrade Warning!

Do NOT downgrade to a pre-3.4.4 SDK after using version 3.4.4 or newer!

Networking

  • Lowered timeout for network call to get project number. issue #166
  • Added fallback timeout to network requests due to device issues with HttpURLConnection .

Registering

  • Fixed issue with local Google project number being used over dashboard setting.
    • Sometimes created INVALID_SENDER errors in the logcat. Issue #165

Settings

  • setInFocusDisplaying can now be called before OneSignal init. Issue #163

Notification Display

  • collapse_id is now supported client side so received notifications will be replaced in the shade. Issue #147
  • Fixed datetime stamps updating on cold start. Issue #179
  • Badge count improvements;
    • Fixed badge count not displaying on Samsung devices with Android 5+. Issue #186
    • EverythingMe Launcher is now supported.
  • Summary notifications now use the app defined defaults for small and large icons instead of the last message's. Issue #37
  • Fixed issues with summary notifications not updating when;
    • Calling androidNotificationId to replace a child notification.
    • Calling cancelNotification to dismiss a child notification.
  • Fixed issue with large icons not displaying on Xiaomi devices running MIUI 8.
  • First notification shown part of a group now works with NotificationExtenderService. Issue #68
    • However the 2nd notification part of the group will create a summary notification in it's place which still isn't overridable they the extender on Pre-N 7.0 devices.

Notification Opened

  • Fixed null notification.payload issue with stacked notifications. Issue #146, #159
  • Fixed rare null error when opening a notification. issue #155

idsAvailable

  • Fixed idsAvailable race condition with IAPs. Issue #181
  • Fixed idsAvailable to be thread safe. Issue #178

Misc errors

  • Fixed various SQL Lite errors due to device I/O related issues. Issue #136
  • Added null guard for GcmIntentService to fixed extremely rare crash. Issue #195
  • Fixed !@Too many alarms (500) error on Samsung devices when closing the app. Issue #168
  • SyncService now only restarts when needed. Issue #187
  • Edge case fix for handleNotificationReceived not firing when using NotificationExtenderService and OSInFocusDisplayOption.None. Issue #162
  • Fixed crashes on Sony devices when disabling badges. Issue #129
  • setLocationShared(false) now clears local cached point. Issue #192
  • Fixed ADMMessageHandler crash on Amazon devices when Proguard is enabled. Issue #154
  • Fixed toJSONObject serialization of actionButtons.

3.4.3 Release

18 Jan 03:47
Compare
Choose a tag to compare
  • Fixed purchases tracking error.
  • Fixed crash on Android 2.3 to 3.2 when proguard is enabled.

3.4.2 Release

06 Dec 09:48
Compare
Choose a tag to compare
  • Exceptions for shrinkResources setting.
  • Proper shutdown of SyncService to avoid logcat errors.
    • Possibly fixes some devices putting app into a force close state due to the improper shutdown.
  • Updated ShortcutBadger library to 1.1.11
    • Badge support for older Samsung devices, OPPO, and ZUK devices.

3.4.1 Release

01 Nov 05:18
Compare
Choose a tag to compare

Added toJSONObject to support other SDKs

3.4.0 Release

19 Oct 19:16
Compare
Choose a tag to compare

Google Project number pulled from OneSignal account

  • Google project number is now used from OneSignal instead of onesignal_google_project_number.
    • If none was entered on OneSignal then the manifest key will still be used.
  • Fixed issue where disabling badges was not being respected in some cases. Issue #129
    • Was creating crashes on some Sony devices if you also removed the permission.
  • If send priority was set to high(10), then the notification will be displayed with PRIORITY_MAX.
  • Added priority and collapseId to OSNotificationPayload
    • collapseId (AKA collapse_key) will be used to replace notifications in a future update.

3.3.1 Release

13 Oct 20:40
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Added removeNotificationReceivedHandler for use with other SDKs.

3.1.0 Release

26 Aug 04:38
Compare
Choose a tag to compare
  • Fixed field names with notification classes
  • Fixed very rare concurrency issue with user update network call.