flutter_local_notifications_platform_interface 6.0.0-dev.4 copy "flutter_local_notifications_platform_interface: ^6.0.0-dev.4" to clipboard
flutter_local_notifications_platform_interface: ^6.0.0-dev.4 copied to clipboard

outdated

A common platform interface for the flutter_local_notifications plugin.

[6.0.0-dev.4] #

  • Breaking change removed NotificationActionCallback and SelectNotificationCallback typedefs. The DidReceiveNotificationResponseCallback and DidReceiveBackgroundNotificationResponseCallback are the new typedefs for notification callbacks that run on the main isolate and background isolate respectively. Both of these pass an instance of the NotificationResponse class
  • Breaking change the NotificationAppLaunchDetails has been updated to contain an instance NotificationResponse class with the payload belonging to the NotificationResponse class. This is to allow knowing more details about what caused the app to launch e.g. if a notification action was used to do so

[6.0.0-dev.3] #

  • [Android] tag has been added to ActiveNotification. This was available in version 9.4.0 of the flutter_local_notifications plugin but has been brought here since ActiveNotification is now part of this package's APIs

[6.0.0-dev.2] #

  • Added NotificationActionDetails class and NotificationActionCallback typedef for dealing with notification actions

[6.0.0-dev.1] #

  • Breaking change the parameters of ActiveNotification's constructor are now are named instead of positional
  • [Android] groupKey has been added to ActiveNotification. This was previously available in version 9.1.0 of the flutter_local_notifications plugin but then removed as it should've been part of a major release instead of a minor one

[5.0.0] #

  • Breaking change the SelectNotificationCallback typedef now maps to a function that returns void instead of a Future<dynamic>. This change was done to better communicate the plugin doesn't actually await any asynchronous computation and is similar to how button pressed callbacks work for Flutter where they are typically use VoidCallback

[4.0.1] #

  • Moved the SelectNotificationCallback typedef and validateId method previously defined in the plugin to the platform interface. This is so they could be reused by platform implementations

[4.0.0] #

  • Updated Flutter SDK constraint
  • Updated Dart SDK constraint
  • Bumped mockito dependency

[3.0.0] #

  • Migrated to null safety

[2.0.0+1] #

  • Added more API docs

[2.0.0] #

  • BREAKING CHANGE renamed RepeatInterval enum values to use lower camel casing
  • Bump plugin_platform_interface dependency

[1.0.1] #

  • Add pendingNotificationRequests()

[1.0.0+1] #

  • Fix link to repo in pubspec
  • Update readme

[1.0.0] #

  • Initial release of platform interface