Releases: OneSignal/OneSignal-iOS-SDK
2.4.3 Release
Additional unsubscribed statuses and sendTag(s) fix
- Added 2 new dashboard unsubscribed status for permission prompt states
- Never Prompted
- Prompted but never answered.
- Fixed bug where tag methods would not work if device didn't finish registration.
- regression bug in 2.4.1
2.4.2 Release
- Name fix in didReceiveNotificationExtensionRequest
- Cleaned up compiler warnings
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
preferredLanguages
being 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
actionID
was 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
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
andadditionalData
would be set on iOS 10.
2.3.5 Release
- 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
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.