Bot releases are hidden (Show)
Published by MaikuB over 3 years ago
PendingNotificationRequest
class so that title
, body
and payload
are nullablePublished by MaikuB over 3 years ago
plugin_platform_interface
dependencyPublished by MaikuB over 3 years ago
onSelectNotification
will not be triggered when an app is launched by tapping on a notificationPublished by MaikuB over 3 years ago
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
Published by MaikuB over 3 years ago
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 againmatchDateComponents
parameter has been renamed to matchDateTimeComponents
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 changetag
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 notificationtag
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 specifiedthreadIdentifier
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 notificationse2e
for integration tests to use integration_test
insteadPublished by MaikuB almost 4 years ago
Published by MaikuB almost 4 years ago
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 againmatchDateComponents
parameter has been renamed to matchDateTimeComponents
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 changetag
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 notificationtag
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 specifiedthreadIdentifier
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 notificationse2e
for integration tests to use integration_test
insteadPublished by MaikuB almost 4 years ago
Published by MaikuB almost 4 years ago
usesChronometer
argument added to the constructor of the AndroidNotificationDetails
class. Thanks to the PR from andymstone
firebase_messaging
plugin and iOS setup sectionsfullScreenIntent
was added to the constructor of the AndroidNotificationDetails
class.Published by MaikuB almost 4 years ago
Published by MaikuB almost 4 years ago
Published by MaikuB almost 4 years ago
Published by MaikuB almost 4 years ago
flutter_local_notifications_platform_interface
Published by MaikuB almost 4 years ago
Published by MaikuB almost 4 years ago
Published by MaikuB almost 4 years ago
deleteNotificationChannel
to use the NotificationManager
APIs instead of the NotificationManagerCompat
APIsPublished by MaikuB almost 4 years ago
UriAndroidNotificationSound
class to further clarify that developers may need to write code that makes use of platform channelscreateNotificationChannelGroup
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 librariesPublished by MaikuB almost 4 years ago
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.Published by MaikuB almost 4 years ago
Published by MaikuB about 4 years ago
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.