Changelog History
Page 4
-
v2.10.1 Changes
August 09, 2019 -
v2.10.0 Changes
April 24, 2019 -
v2.9.5 Changes
January 15, 2019โก๏ธ โข This update fixes a longstanding issue with buttons, where the SDK would always show the buttons of the most recently received notification.
โข For example, if a notification is received with a "Like" button, and then another notification is received with an "Unlike" button, both notifications will now display the "Unlike" button since it was the more recently received.
โก๏ธ โข This update adds a cache of registeredUNNotificationCategory
identifiers, allowing the SDK to assign unique categories for each push notification, letting each notification have their own unique buttons. -
v2.9.4 Changes
December 06, 2018โก๏ธ โข This update adds new methods (
setExternalUserId(string)
andremoveExternalUserId
) allowing you to target push notifications using your own custom user ID's instead of having to store OneSignal player ID's.
โก๏ธ โข Small update that includes a fix for an issue that would have caused rare crashes, due to invalid HTTP request bodies being serialized into JSON -
v2.9.3 Changes
October 29, 2018๐ โข Fixes an issue with provisional notifications (no git issue) where a user would receive a provisional notification, tap 'Keep', and then tap 'Deliver Prominently', which should cause notifications to be delivered like normal: however in previous releases notifications would have no sound/alert/badge until the app was next restarted.
๐ โข Fixes some DSYMUtil warnings developers would see in regards to our framework including debugging information. -
v2.9.2 Changes
October 18, 2018๐ โข This release fixes an iOS 12 issue where enabling "Deliver Quietly" and then opening the app would cause notifications to stop being delivered entirely.
-
v2.9.1 Changes
October 09, 2018๐ โข This is a minor release that adds bitcode support for our dynamic framework.
-
v2.9.0 Changes
October 02, 2018๐ฆ Introduces support for new iOS 12 features. To learn more about how iOS 12 changes push notifications, please read our blog post on the subject.
Provisional/Direct To History Notifications
โข Provisional notifications are a new way to message users without requesting their permission to send push notifications. Unlike traditional notifications, a provisional notification is sent directly to the Notification Center and does not alert/disturb the user directly.
๐ฆ โข To use Provisional notifications, setkOSSettingsKeyAutoPrompt
tofalse
in your initialization settings. Then, navigate to https://www.onesignal.com and in your iOS platform settings, enable Direct To History notifications. From now on, all users that open your app will be able to receive provisional notifications unless they explicitly disable notifications for your appManage App Notification Settings
๐ โข iOS 12 introduces support to let your app provide a deep link to manage settings from within your app.
๐ โข To enable this, please set our init settingkOSSettingsKeyProvidesAppNotificationSettings
totrue
. You also need to implement aUNUserNotificationCenterDelegate
method to present your custom Notification Settings UI.๐ Thread-ID Support
โข iOS 12 also introduces Notification Grouping which allows you to group related notifications together. To do this, set the
thread-id
parameter in your push notifications. iOS will automatically group notifications with the samethread-id
together.๐ Bug Fixes & Improvements
๐ โข Fixes an issue with Xcode 10 that caused crashes to the IBDesignables agent and made users unable to use IBDesignable views in storyboards/xibs
โข Adds a newreachable
parameter to theOSPermissionState
. This new parameter indicates if the user is reachable and can receive notifications, and will betrue
if they've (A) accepted notification permission or (B) are registered to receive provisional/direct-to-history notifications. -
v2.8.9 Changes
September 26, 2018๐ โข This release fixes an issue where the SDK was not properly handling HTTP request re-attempts. This would have resulted in an issue where calling
sendTags()
(for example) while a user had no network connection would, after 60 seconds, result in theonSuccess
callback being executed.๐ โข Removes some unnecessary log statements and other minor cleanup of the SDK
๐ โข Includes a fix for a merge mistake in the previous release that reverted a few minor/rare bugs.
-
v2.8.8 Changes
September 11, 2018๐ โข This release fixes an issue (#410) where users that add buttons/functionality to a notification by directly using UNNotificationCategory instead of using our API would cause a crash
๐ฆ โข Fixes a thread synchronization issue that would have deadlocked the main thread in very rare situations on initialization (#409)
โข Fixes an issue where improperly formatted button JSON (from the create notification API) would cause the SDK to insert nil objects into an NSDictionary instance, causing an EXC_BAD_ACCESS (#409)
โข Adds an additional dynamic framework/cocoapod for developers who previously encountered 'transitive dependency' errors using our SDK indirectly as a dependency of another cocoapod in Swift projects