Skip to content

Releases: OneSignal/OneSignal-Android-SDK

3.5.6 Release

12 May 03:50
Compare
Choose a tag to compare
  • Added cancelGroupedNotifications method. Request #57
  • Fixed rare location event race condition crash.
  • Updated Unity wrapper for observer methods

3.5.5 Release

09 May 03:18
Compare
Choose a tag to compare

Fixed Duplicated Action Buttons and Get Tags

  • Fixed issue where duplicated action buttons would show on the notification if a group was also set on Android 4.1 through 6.
  • Fixed bug where getTags would not include tags from the server on the first call.

3.5.4 Release

05 May 00:16
Compare
Choose a tag to compare

Proguard fixes and filter option for other GCM receivers

  • Added filterOtherGCMReceivers init builder method
    • Set true to filter out OneSignal payloads from other GCM receivers.
  • Fixed compatibility with proguard-android-optimize.txt settings.
  • Corrected type of error reported when "REMOTE" is set for a Google project number but it is missing from the OneSignal dashboard.
  • Added SQLite downgrade handling to prevent errors for any future schema changes. Issue #222

3.5.3 Release

02 May 00:20
Compare
Choose a tag to compare

Added ranges for dependencies

Recommended build.gradle dependencies entry is now as follows.

compile 'com.onesignal:OneSignal:[3.5.3,4.0.0)'

Google Play services dependencies will automatically be included now.

3.5.1 Release

29 Apr 02:19
Compare
Choose a tag to compare

Chrome Tab Fixes

  • Fixed NPE on some devices. Issue #215
  • Fixed build error when proguard is enabled without -dontpreverify flag. Issue #217

3.5.0 Release

27 Apr 22:58
Compare
Choose a tag to compare

Added Observers and Misc fixes

New Methods

  • addPermissionObserver
    • onPermissionChanged will fire when user changes Android notification settings.
      • This fires when your app is open / resumed if the user blocks notifications under Settings > App.
  • addSubscriptionObserver
    • onSubscriptionChanged will fire when notification subscription properties change.
      • Includes userId, pushToken, userSubscriptionSettings, and subscribed
  • getPermissionSubscriptionState
    • Returns an object with permission and subscription instances with:
      • subscription.userId, subscription.pushToken, subscription.useSubscriptionSettings, permission.enabled
  • Added JSONObject constructors to OSNotification* classes. Request #198

Fixes

  • Misc Fixes when group key is used (AKA stacked notifications)
    • Fixes for closing an in-app alert with a group key set when no other other exist in the shade with the key
      • Fixed issue where this could show a notification in the shade.
      • Fixed an instability issue that could crash the app after an unrelated OneSignal event.
    • Fixed issue where if first notification part of a group key was show as an in app alert future notifications wouldn't group if more are received with the same key when the app is out of focus.
  • Badges are now cleared when notifications are disabled.
  • Fixed SyncService error if started with a null Intent.

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