Releases: OneSignal/OneSignal-Flutter-SDK
2.3.1 Release
iOS SDK Native Updated
- iOS SDK native updates
2.3.0
iOS - Outcomes & Received Receipts
- New Outcomes feature
- New Received Receipts
- iOS SDK native updates
- Android SDK native updates
2.2.0 Release
Android - Outcomes & Received Receipts
- New Outcomes feature
- New Received Receipts (details coming soon)
- iOS SDK native updates
- Android SDK native updates
2.1.0
Fixed Hanging Awaits and Added In-App Messaging for iOS
- Hanging awaits are now fixed for various methods for Android and iOS
- Related to #62
- Removed unused method
presentApplicationSettings
related to #129 - Added In-App Messaging to iOS
Updates from OneSignal-iOS-SDK 2.11.0
- Added in In App Messaging feature
- Various minor bug fixes
Updates from OneSignal-Android-SDK 3.11.4
- Fixed getActiveNotifications() crash related to NotificationManager class
- Similar to issue #422, but for Android 8.0.0 Samsung devices
- Fixed an issue with In App Messaging where a drag would sometimes trigger an action
2.0.2 Release
iOS 13 Beta 2+ pushToken and Other Android Misc Fixes
Updates from OneSignal-iOS-SDK 2.10.1
- Fixed deviceToken format error with iOS 13 Beta 2+ which was preventing the device from subscribing to OneSignal.
Updates from OneSignal-Android-SDK 3.11.2
- On Android N (7.0)+ devices when 4 or more notifications are shown tapping on the group is now handled
- Issue was related to Android's auto grouping feature.
- Now counts the most recent notification in the group being opened when the summary notification is tapped.
- Android - Fix NPE errors when app is resumed when
setRequiresUserPrivacyConsent(true)
is set - Android - Fixed "App may not schedule more than 100 distinct jobs" error, mostly affecting Samsung devices in rare cases
- Fix for notification received, opened, and in app messaging action callbacks not firing after pressing the back button to close the app.
- PR #119
2.0.1 Release
Fixed android.support.annotation Missing Error
- Fixed missing
android.support.annotation
when project is using AndroidX- Issue #110
2.0.0 Release
📣 Dart Package is now onesignal_flutter & Android In-App Messages
- Renamed "onesignal" to "onesignal_flutter"
- This resolves iOS incompatibility at build time when a pod that uses Swift is imported with
use_frameworks!
🎉 - See migration steps below
- This resolves iOS incompatibility at build time when a pod that uses Swift is imported with
- See the OneSignal In-App quickstart guide for more details.
- Fixed Android UiThread crashes.
- When re-initializing with a different AppId the device registers correctly without requiring an app cold start
- Dashboard parameters are now correctly refreshed as well from the new app id.
- Notification Channels / Categories, added invalid format handling to LED colors.
- PR #775
- Fixed
com.onesignal.PrivacyConsent
AndroidManifest.xml
check when using newest init method.- PR #786
- Fixed location permission prompting and session count / time tracking after privacy consent is accepted.
- PR #772
🚨 OneSignal 1.X to 2.0.0 Migration Guide 🚨
- Open your
pubspec.yaml
file and updateonesignal: ^1.1.0
toonesignal_flutter: ^2.0.0
. - run
flutter packages get
- Find and replace the following in all your
.dart
files.import 'package:onesignal/onesignal.dart'
- with
import 'package:onesignal_flutter/onesignal_flutter.dart'
1.1.0 Release
Updated Android compileSdkVersion to 28
Please make sure to update to
compileSdkVersion 28
in yourbuild.gradle
when updating to this version or newer!
compileSdkVersion
at version28
is now the default the latest Flutter version- Fixes build time error
Execution failed for task ':onesignal:verifyReleaseResources'.
- Issue #61
- Fixes build time error
1.0.4 Release
Flutter SDK Update
• This minor release adds a function called setExternalUserId(string)
that allows you to use your own custom user ID's to target push notifications. Using this function, you no longer have to store their OneSignal user ID's.
• This update also updates the native iOS and Android SDK's to their latest releases.
Android Fixes & Improvements
OneSignal Android 3.10.5 SDK
- Removed
ACTION_BOOT_COMPLETED
forBOOT_COMPLETED
ACTION_BOOT_COMPLETED
is invalid,BOOT_COMPLETED
is the correct intent action
- Catches security exception from Job Intent Service
- Fixes issue #673
iOS SDK Fixes & Improvements
OneSignal iOS 2.9.4 SDK
- 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
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.