flutter_local_notifications

A Flutter plugin for displaying local notifications on Android, iOS, macOS and Linux

Stars
2.4K
Committers
119

Bot releases are hidden (Show)

flutter_local_notifications - flutter_local_notifications_platform_interface-v3.0.0.nullsafety.2

Published by MaikuB over 3 years ago

  • Fix PendingNotificationRequest class so that title, body and payload are nullable
flutter_local_notifications - flutter_local_notifications_platform_interface-v3.0.0.nullsafety.1

Published by MaikuB over 3 years ago

  • Updated constraints for plugin_platform_interface dependency
flutter_local_notifications - flutter_local_notifications-v4.0.1+1

Published by MaikuB over 3 years ago

  • Fixed typo in readme around the note relating to version 4.0 of the plugin where onSelectNotification will not be triggered when an app is launched by tapping on a notification
flutter_local_notifications - flutter_local_notifications-v4.0.1

Published by MaikuB over 3 years ago

  • [Android] added the getNotificationChannels method to the AndroidFlutterLocalNotificationsPlugin class. This can be used to a get list of all the notification channels on devices with Android 8.0 or newer. Thanks to the PR from Shapovalova Vera
flutter_local_notifications - flutter_local_notifications-v4.0.0

Published by MaikuB over 3 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
flutter_local_notifications - flutter_local_notifications-v4.0.0-dev.2

Published by MaikuB over 3 years ago

  • Bumped Flutter dependencies
  • Example app cleanup including updating Proguard rules as specifying the rules for Flutter were no longer needed
flutter_local_notifications - flutter_local_notifications-v4.0.0-dev.1

Published by MaikuB almost 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
flutter_local_notifications - flutter_local_notifications-v3.0.3

Published by MaikuB almost 4 years ago

  • [Android] added support for showing subtext in the notification. Thanks to the PR from sidlatau
flutter_local_notifications - flutter_local_notifications-v3.0.2

Published by MaikuB almost 4 years ago

  • [Android] added support for showing the notification timestamp as a stopwatch instead via the usesChronometer argument added to the constructor of the AndroidNotificationDetails class. Thanks to the PR from andymstone
  • Updated readme to add more clarity on the compatibility with firebase_messaging plugin and iOS setup sections
  • Updated changelog entry for the 2.0.0 release around support for full-screen intents to clarify that the fullScreenIntent was added to the constructor of the AndroidNotificationDetails class.
flutter_local_notifications - flutter_local_notifications-v3.0.1+7

Published by MaikuB almost 4 years ago

  • [Android] fixed issue 935 where scheduling a notification on Android devices running Android versions older than 4.4 (API 19) could cause a crash from using an API that isn't available
flutter_local_notifications - flutter_local_notifications-v3.0.1+6

Published by MaikuB almost 4 years ago

  • [Android] change how the intent that associated with the notification is determined so that the plugin. This is to allow the plugin to work with applications that use activity aliases as per issue 92. Thanks the PR from crazecoder
  • Fixed issue 924, where example app will now use https URLs for downloading placeholder images. These images were used when displaying some of the notifications. Thanks to the PR from Fareez
flutter_local_notifications - flutter_local_notifications-v3.0.1+5

Published by MaikuB almost 4 years ago

  • Fixed links in table of contents in the readme. Thanks to the PR from Dihak
  • Added a note in the readme to indicate changes were done in version 3.0.1+4 to reduce the setup to ensure readers have updated their application to use the latest version of the plugin
  • Added a note around setting the application badge with a link to a plugin that supports this functionality
flutter_local_notifications - flutter_local_notifications-v3.0.1+4

Published by MaikuB almost 4 years ago

  • [Android] made changes so that the plugin will now register the receivers and permissions needed. This reduces the amount of setup needed as developers will no longer need to update their AndroidManifest.xml to do so. The section of the readme on the Android setup for scheduled notifications has been removed as a result
  • [Android] fixed an issue where notifications may not appear after rebooting
  • [Android] made changes so that the plugin itself specifies which classes should be kept when minified. This means developers should no longer need to add a rule for this plugin in their application's Proguard rules file. Note that rules for GSON will still be needed. The release build configuration section related to the Android setup has been updated to reflect this change
  • Bump dependency on flutter_local_notifications_platform_interface
  • Updated API docs
flutter_local_notifications - flutter_local_notifications_platform_interface-v2.0.0+1

Published by MaikuB almost 4 years ago

  • Added more API docs
flutter_local_notifications - flutter_local_notifications-v3.0.1+3

Published by MaikuB almost 4 years ago

  • [Android] Fixed issue 898 around duplicate pending notifications
  • Updated example app to more clearly indicate which button will demonstrate an Android notification with a different coloured icon and LED
flutter_local_notifications - flutter_local_notifications-v3.0.1+2

Published by MaikuB almost 4 years ago

  • [Android] additional fix for issue 871 by switching the implementation of deleteNotificationChannel to use the NotificationManager APIs instead of the NotificationManagerCompat APIs
flutter_local_notifications - flutter_local_notifications-v3.0.1+1

Published by MaikuB almost 4 years ago

  • Updated API docs for the UriAndroidNotificationSound class to further clarify that developers may need to write code that makes use of platform channels
  • [Android] fix issue 881 where recurring notifications may fail to schedule the next occurrence on older Android versions as the ThreeTen Android Backport library hadn't been initialised yet
  • [Android] switched implementation of createNotificationChannelGroup and deleteNotificationChannelGroup methods to use the NotificationManager APIs instead of the NotificationManagerCompat APIs. If you had issues with 3.0.1 then this should fix the issue (e.g. as reported in issue 871) as the the APIs that were previously being called would've required apps to use more recent versions of the AndroidX libraries
flutter_local_notifications - flutter_local_notifications-v3.0.1

Published by MaikuB almost 4 years ago

  • [Android] Added the createNotificationChannelGroup and deleteNotificationChannelGroup methods to the AndroidFluttterLocalNotificationsPlugin class that can be used to create and delete notification channel groups. The optional groupId parameter has been added to the AndroidNotificationChannel class that can be used to associated notification channels to a particular group. Example app has been updated to include code snippets for this.
flutter_local_notifications - flutter_local_notifications-v3.0.0+1

Published by MaikuB almost 4 years ago

  • [iOS] Fixed issue 865 where notifications with no title weren't behaving properly
  • Updated API docs and readme around handling when full-screen intent notifications occur
  • Updated API docs around notification channel management
flutter_local_notifications - flutter_local_notifications-v3.0.0

Published by MaikuB almost 4 years ago

  • Breaking change The scheduledNotificationRepeatFrequency parameter of the zonedSchedule method has been removed. This has been replaced by matchDateTimeComponents parameter that can be used to schedule a recurring notification. This was done to better indicate that this is used to schedule recurring daily of weekly notifications based on the specified date components. This is more inline with how the calendar trigger works for notifications for iOS and macOS. Given a date (e.g. Monday 2020-10-19 10:00 AM), specifying to match on the time component of would result in a notification occurring daily at the same time (10:00 AM). Specifying to match on the day of the week and time allows for a weekly notification to occur (Monday 10:00 AM), The deprecation warnings for the showDailyAtTime() and showWeeklyAtDayAndTime() methods have been updated to give a brief description along the same lines.