github MaikuB/flutter_local_notifications flutter_local_notifications-v4.0.0

latest releases: flutter_local_notifications-v19.5.0, flutter_local_notifications-v19.4.2, flutter_local_notifications_windows-v1.0.3...
4 years ago
  • Breaking change calling initialize will no longer trigger the onSelectNotification if a notification was tapped on prior to calling initialize. This was done as the getNotificationAppLaunchDetails method already provided a way to handle when an application was launched by a notification. Furthermore, calling initialize multiple times (e.g. on different pages) would have previously caused the onSelectNotification callback multiples times as well. This potentially results in the same notification being processed again
  • Breaking change the matchDateComponents parameter has been renamed to matchDateTimeComponents
  • Dates in the past can now be used with zonedSchedule when a value for the matchDateTimeComponents parameter has been specified to create recurring notifications. Thanks to the PR from Erlend for implementing this and the previous change
  • [Android] notification data is now saved to shared preferences in a background thread to minimise jank. Thanks to the PR from davidlepilote
  • [Android] the tag property has been added to the AndroidNotificationDetails class. This allows notifications on Android to be uniquely identifier through the use of the value of the tag and the id passed to the method for show/schedule the notification
  • [Android] the optional tag argument has been added to the cancel method for the FlutterLocalNotificationsPlugin and AndroidFlutterLocalNotificationsPlugin classes. This can be used to cancel notifications where the tag has been specified
  • [iOS][macOS] the threadIdentifier property has been added to the IOSNotificationDetails and MacOSNotificationDetails classes. This can be used to group notifications on iOS 10.0 or newer, and macOS 10.14 or newer. Thanks to the PR from Marcin Chudy for adding this and the tag property for Android notifications
  • The Android and iOS example applications have been recreated in Kotlin and Swift respectively
  • Updated example application's dev dependency on the deprecated e2e for integration tests to use integration_test instead
  • Bumped Flutter dependencies
  • Example app cleanup including updating Proguard rules as specifying the rules for Flutter were no longer needed

Don't miss a new flutter_local_notifications release

NewReleases is sending notifications on new releases.