Releases: OneSignal/OneSignal-iOS-SDK
Releases · OneSignal/OneSignal-iOS-SDK
2.2.3 Release
Misc notification presentation duplication and other fixes
- Fixed issue where notifications on iOS 10 could be re-presented.
- Was related to action buttons and media attachments on iOS 10 only.
- Fixed UI thread hang when downloading iOS 10 media attachments.
- Added
setLocationShared:(BOOL)selector. - Fixed some compatibility issue with notification
UIApplicationDelegateselectors. - Fixed no-push token + other issues when library is loaded twice.
2.2.2 Release
- Fixed deprecated AppDelegate notification methods not firing on iOS 10.
- Fixes to some action button handling.
2.2.1 Release
- Added new
isAppInFocusproperty toOSNotification. - Fixed cases where
bodyandtitlewere not correctly set onOSNotification. - Fixed rare case where
handleNotificationActioncould fire 2 times. - Fixed issue where the
AppDelegateselectorapplication:didReceiveRemoteNotification:fetchCompletionHandler:would no longer be called after initializing OneSignal. - Fixed compile warning when using Carthage.
2.2.0 Release
- No longer need to setup a
OSUserNotificationCenterDelegateif using your own delegate.- You can set
UNUserNotificationCenterDelegatedirectly without interference.
- You can set
- Fixed iOS 7 crash.
- Fixed issue where only one iOS 10 notification with an attachment would show at a time.
2.1.16
2.1.15
2.1.14
2.1.12 Release
- Swizzling now works regardless of wether the linker flag
-ObjCis present or not.
2.1.11
- OneSignal will now detect and show an error message for 'No Push Token' issues when the Push Notification capability is not enabled for the app target.
- Fixed an iOS 10 issue where silent notifications fail to load properly when the app is in the foreground.
- Fixed a 'No Push Token' issue in 2.1.10 that would happen when OneSignal was downloaded through CocoaPods and included other pods that used the -ObjC flag.
2.1.10
- Added support for a 4th key
kOSSettingsKeyInFocusDisplaythat adds the ability to customize how notifications should appear when the app is in the foreground. - Fixed receivedBlock not getting called on iOS10 when the app in foreground and OSInFocusDisplayOption is set to None.
- Fixed "no push token" issue for projects with no proper
-ObjC/-all_loadflags set by forcing theUIApplicationcategory to load regardless of the SDK installation method. - Enum values were renamed for easier auto-fill and to prevent namespace conflicts.
- Updated example projects (No need for bridging header / linker flags).