flutter_local_notifications_platform_interface 6.0.0-dev.4 flutter_local_notifications_platform_interface: ^6.0.0-dev.4 copied to clipboard
A common platform interface for the flutter_local_notifications plugin.
[6.0.0-dev.4] #
- Breaking change removed
NotificationActionCallback
andSelectNotificationCallback
typedefs. TheDidReceiveNotificationResponseCallback
andDidReceiveBackgroundNotificationResponseCallback
are the new typedefs for notification callbacks that run on the main isolate and background isolate respectively. Both of these pass an instance of theNotificationResponse
class - Breaking change the
NotificationAppLaunchDetails
has been updated to contain an instanceNotificationResponse
class with thepayload
belonging to theNotificationResponse
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 toActiveNotification
. This was available in version9.4.0
of theflutter_local_notifications
plugin but has been brought here sinceActiveNotification
is now part of this package's APIs
[6.0.0-dev.2] #
- Added
NotificationActionDetails
class andNotificationActionCallback
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 toActiveNotification
. This was previously available in version9.1.0
of theflutter_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 returnsvoid
instead of aFuture<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 useVoidCallback
[4.0.1] #
- Moved the
SelectNotificationCallback
typedef andvalidateId
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