1.0.3 Release
Flutter SDK Update
• This release updates the native iOS and Android SDK's to the latest versions
• Switches to use the OneSignal
pod instead of OneSignalDynamic
due to issues with Cocoapods' strip_invalid_archs()
function, which is breaking our framework.
Android Fixes & Improvements
OneSignal Android 3.10.3 SDK
- Notification Restore Improvements (PR #645)
- Limit number of notification restored to 49
- This is the max visible limit per app, Android omits displaying any more
- Helps mitigate issue #644
- Slowed Restore rate to 5 per second
- Above 2 changes cleans up
NotificationService
warnings from the logcat
- Limit number of notification restored to 49
- GDPR method fixes
- Fixed
IllegalArgumentException
thrown fromJobIntentService
in a specific case- Issue was only happening with high priority notifications that had a remote image with an app setup with a
NotificationExtenderService
and running on Android Oreo+, in some cases. - Fixes issue #649
- Issue was only happening with high priority notifications that had a remote image with an app setup with a
- Fix for
OneSignalSyncServiceUtils
throwingIllegalArgumentException
when boot permission is removed. - Possible fix for rare "Package manager has died" error. PR #658
OneSignal Android 3.10.2 SDK
- Fixed NPE with
ChangeTagsUpdateHandler
when a tag update results in no changes. PR #611 - Fixed
FirebaseInstanceIdService
IllegalArgumentException
exception - Fixed rare NPE Bundle error on
RestoreJobService.onHandleWork
. Issue #591 NotificationExtenderService
now respects FCM High priority to wake from Dose mode. PR #640- Fixed fallback of medium and lower priorities of Notification Channel for pre-Oreo devices. PR #639
- Fixed issue with disabling
enableVibrate
orenableSound
was not respected.- When initializing OneSignal after
Application.onCreate
. - Note, settings only apply to Android 7.0 and older.
- Methods will be deprecated, please migrate to Android Categories / Channels
- When initializing OneSignal after
- Cleaned up GCM related warning in logcat when a push is received. #642
CANCELLED forIntent { act=... flg=0x10000000 pkg=... }
iOS Fixes & Improvements
OneSignal iOS 2.9.3 SDK
• 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. (#440)
OneSignal iOS 2.9.2 SDK
• This release fixes an iOS 12 issue where enabling "Deliver Quietly" and then opening the app would cause notifications to stop being delivered entirely.
OneSignal 2.9.0 SDK
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 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, set kOSSettingsKeyAutoPrompt
to false
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 app
• 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 setting kOSSettingsKeyProvidesAppNotificationSettings
to true
. You also need to implement a UNUserNotificationCenterDelegate
method to present your custom Notification Settings UI.
• 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 same thread-id
together.
• 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 new reachable
parameter to the OSPermissionState
. This new parameter indicates if the user is reachable and can receive notifications, and will be true
if they've (A) accepted notification permission or (B) are registered to receive provisional/direct-to-history notifications.
OneSignal 2.8.9 SDK
• 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 the onSuccess
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.