Releases: OneSignal/OneSignal-iOS-SDK
Releases · OneSignal/OneSignal-iOS-SDK
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
kOSSettingsKeyInFocusDisplay
that 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_load
flags set by forcing theUIApplication
category 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).
2.1.9
2.1.8
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
- Fixed an issue where receiving two notifications with launchURLs would launch multiple webviews without dismissing currently open ones.
- Updated device registration login. OneSignal will now wait a few seconds to try to get a device token before registering with OneSignal's servers. This prevents some cases where devices could be duplicated on the dashboard when previous device data had been imported.
2.1.1
- iOS 10 fixes:
- In-app alerts will no longer show up alongside native notifications when InAppAlerts are enabled.
- Changed the way the OneSignal SDK extracts attachments from the notification payload.
- Added a mutableContent property to the OSNotificationPayload for iOS 10.
- Remote silent notifications will no longer show an alert in an app that is in focus when InAppAlerts are enabled.
- Dismiss the in-app webview when coming back to the app after receiving a deep linked URL and kOSSettingsInAppLaunchURL is true.