Skip to content

Releases: OneSignal/OneSignal-iOS-SDK

2.4.1 Release

14 Mar 01:08

Choose a tag to compare

Network Optimizations and Fixes

  • sendTag(s) and deleteTag(s) now batch network requests to optimize the number of network requests made.
  • Fixed issue with action buttons using a previous button set sometimes. Issue #202
    • Issue was introduced in 2.4.0.
  • Fixed crash on app start on iOS 7. Issue #205
    • Issue was introduced in 2.3.6.
  • Fixed very rare crash due to preferredLanguages being empty. Issue #201

2.4.0 Release

10 Mar 00:03

Choose a tag to compare

NotificationServiceExtension

Media attachments and action buttons now use a NotificationServiceExtension with mutable-content instead of content-available on iOS 10 for improved delivery reliability and speed. This fixes the issue where notifications with these features would not show if the app was force-quit by swiping it away.

Xcode 8

Xcode 7 is no longer supported in this release, please update to Xcode 8

Upgrade Instructions

Make sure to follow our updated setup guide to add this Notification Service Extension as it is now required for Action Buttons and Attachments.
Add Notification Service Extension
Failing to add this will result in basic notifications shown without these features on iOS 10 devices.

Misc Fixes

  • Fixed bug where sending notifications with action buttons set would remove other notification categories set in the app.
  • Fixed issue where actionID was not set when tapping on a notification button without additional on the notification.

2.3.7 Release

03 Mar 23:43

Choose a tag to compare

  • Fixed issue where the iOS simulator would get stuck attempting to register for push after accepting notifications. Issue #192
  • Fixed issue where extra network calls could be made when registering the device.
  • idsAvailable now always runs the callback on the main thread.

2.3.6 Release

03 Mar 03:35

Choose a tag to compare

  • Fixed sessions not tracking when the app is resumed.
    • Only cold starts were being tracked.
  • Fixed registration issue where the app already prompted the user in a previous app version before OneSignal was added and they declined.
  • Fixed cases where idsAvailable callback could be delayed by 30 seconds if the user declines notifications.
  • Fixed issue where if UIBackgroundmodes > “remote-notification” was disabled it would report an "APNs delegate not fired" error.
  • Fixed issue where actionID and additionalData would be set on iOS 10.

2.3.5 Release

14 Jan 04:09

Choose a tag to compare

  • Fixed Xcode Storyboard crash with custom IBDesignable Views.
  • Fixed IAP crash when OneSignal initWithLaunchOptions is called more than once.
    • Mostly effected wrapping SDKs

2.3.4 Release

16 Dec 02:43

Choose a tag to compare

Fixed crash if OneSignal.m loaded into the run time but initWithLaunchOptions was never called.

2.3.3 Release

08 Dec 00:15

Choose a tag to compare

Added appId nil check

  • Wrapper SDK can override log entries by setting kOSSettingsKeyInOmitNoAppIdLogging

2.3.2 Release

06 Dec 10:42

Choose a tag to compare

Fixed wrong REST method used with postNotification

  • Issue was introduced in version 2.3.1.

2.3.1 Release

06 Dec 02:59

Choose a tag to compare

  • Corrected actionButtons in header to be defined as a NSArray. Issue #128
  • Added parseNSErrorAsJsonString selector for other SDKs to use. Issue #152
    • Helps in handling errors from postNotificaiton.
  • Fixed iOS 10 crash with action buttons when resuming the app. Issue #148
  • Fixed iOS 10 issue where action block would not fire when tapping on a notification when the app is in focus before it goes to the notification center. Issue #153
  • Fixed Webview shows only for a second after opening a 2nd notification with a URL set. Issue #123
  • Fixed possible iOS 9 issue where action block would fire before tapping on a button in the in app alert when action buttons were set.

2.3.0 Release

30 Nov 21:03

Choose a tag to compare

  • Added additional notification_types status for "No Push Token" to help debug issues which will show on the OneSignal dashboard.
  • Fixed issue where handleNotificationReceived would fire when resuming / opening an app by tapping on a notification.
  • Fixed cases where application:didReceiveRemoteNotification:fetchCompletionHandler: would fire twice in succession.
  • Fixed Carthage error from 2.2.3.
  • Fix crash with setLevelLog when visual level was set due to a threading race condition displaying alerts.
  • Added validation to syncHashedEmail.
  • Removed deprecated OSUserNotificationCenterDelegate.
    • Please migrate to the standard Apple UNUserNotificationCenterDelegate class.