Releases: OneSignal/OneSignal-iOS-SDK
2.4.1 Release
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
preferredLanguagesbeing empty. Issue #201
2.4.0 Release
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
actionIDwas not set when tapping on a notification button without additional on the notification.
2.3.7 Release
- 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
- 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
idsAvailablecallback 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
actionIDandadditionalDatawould be set on iOS 10.
2.3.5 Release
- Fixed Xcode Storyboard crash with custom IBDesignable Views.
- Fixed IAP crash when OneSignal
initWithLaunchOptionsis called more than once.- Mostly effected wrapping SDKs
2.3.4 Release
Fixed crash if OneSignal.m loaded into the run time but initWithLaunchOptions was never called.
2.3.3 Release
Added appId nil check
- Wrapper SDK can override log entries by setting
kOSSettingsKeyInOmitNoAppIdLogging
2.3.2 Release
Fixed wrong REST method used with postNotification
- Issue was introduced in version 2.3.1.
2.3.1 Release
- Corrected
actionButtonsin header to be defined as aNSArray. Issue #128 - Added
parseNSErrorAsJsonStringselector for other SDKs to use. Issue #152- Helps in handling errors from
postNotificaiton.
- Helps in handling errors from
- 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
- Added additional
notification_typesstatus for "No Push Token" to help debug issues which will show on the OneSignal dashboard. - Fixed issue where
handleNotificationReceivedwould 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
setLevelLogwhen 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
UNUserNotificationCenterDelegateclass.
- Please migrate to the standard Apple