flutter_local_notifications

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

Stars
2.4K
Committers
119

Bot releases are visible (Hide)

flutter_local_notifications - flutter_local_notifications-v9.1.3

Published by MaikuB almost 3 years ago

  • [Android] Reverts Android changes done in 9.1.2 and 9.1.1 due to reported stability issues. Ths means issue 1378 may still occur though is a rare occurrence and may require a different solution and assistance from the community with regards to testing
flutter_local_notifications - flutter_local_notifications-v9.1.2+1

Published by MaikuB almost 3 years ago

  • [Android] some minor code clean up from 9.1.2 changes
  • Fixed a grammar issue in readme. Thanks to the PR from Clément Besnier
flutter_local_notifications - flutter_local_notifications-v9.1.2

Published by MaikuB almost 3 years ago

  • [Android] Fix NPE issue 1378 from change introduced in 9.1.1 in updating how notifications were written to shared preferences
flutter_local_notifications - flutter_local_notifications-v9.1.1

Published by MaikuB almost 3 years ago

  • BAD [Android] updated APIs the plugin uses to write to shared preferences in the background
  • [Android] fix issue 1378 where there was a the Future for scheduling a notification could be completed prior to saving information on the scheduled notification to shared preferences. In this case the notification would still be scheduled but if the plugin was used to query the pending notifications quick enough, the plugin may have returned the incorrect number of pending notifications
flutter_local_notifications - flutter_local_notifications-v9.1.0

Published by MaikuB almost 3 years ago

  • [Android] Added groupKey to ActiveNotification that would allow for finding the notification's group. Thanks to the PR from Roman
  • [Android] Migrate maven repository from jcenter to mavenCentral. Thanks to the PR from tigertore
flutter_local_notifications - flutter_local_notifications-v9.0.3

Published by MaikuB almost 3 years ago

  • [Android] Fixed issue 1362 so that the plugin refer to Android sound resources by the resource name instead of the resource id as the resource id could change over time e.g. if new resources are added. Note that this is a fix that can't be applied retroactively
flutter_local_notifications - flutter_local_notifications-v9.0.2

Published by MaikuB almost 3 years ago

  • [Android] Fixed issue 1357 where some details of a notification with formatted content weren't being returned
  • Bumped dependencies used by example app
  • Fixed grammar issue in readme in the Scheduled Android notifications section. Thanks to Yousef Akiba for the PR
  • Updated example app and readme code around importing the timezone dependency so it uses the all variant of the IANA database that contains all timezones including those that are deprecated or may link to other timezones
flutter_local_notifications - flutter_local_notifications-v9.0.1

Published by MaikuB almost 3 years ago

  • Fixed issue 1346 where an exception is thrown when onSelectNotification callback isn't specified
flutter_local_notifications - flutter_local_notifications-v9.0.0

Published by MaikuB about 3 years ago

  • Breaking change the SelectNotificationCallback and DidReceiveLocalNotificationCallback typedefs now map to functions 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
  • Updated example app to show how to display notification where a byte array is used to specify the icon on Linux
  • Breaking change the value property of the Importance class is now non-nullable
  • Breaking change the FlutterLocalNotificationsPlugin.private() constructor that was visible for testing purposes has been removed. The plugin now uses the defaultTargetPlatform property from the Flutter framework to determine the platform an application running on. This removes the need for depending on the platform package. To write tests that require a platform-specific implementation of the plugin, the debugDefaultTargetPlatformOverride property can be used to do so
  • Breaking change fixed issue 1306 where an Android notification channel description should have been optional. This means the description property of the AndroidNotificationChannel class and the channelDescription property of the AndroidNotificationDetails class are now named parameters
  • Breaking change the AndroidIcon class is now a generic class i.e. AndroidIcon<T> and it's icon property has been renamed to data. With this change, the type of the icon property that belongs to the Person class has changed from AndroidIcon? to AndroidIcon<Object>?
  • [Android] Added the ByteArrayAndroidIcon class that implements the AndroidIcon<T> class. This allows using a byte array to use as the icon for a person in a message style notification. A ByteArrayAndroidIcon.fromBase64String() named constructor is also available that will enable this using a base-64 encoded string. Thanks to the PR from Alexander Petermann
  • [Android] Android 12 support
  • Restored Linux support
  • Fixed grammatical errors in readme. Thanks to PR from Aneesh Rao
  • Plugin now uses the clock package for internal logic that relies on geting the current time, such as validating that the date for a scheduled notification is set in the future
flutter_local_notifications - flutter_local_notifications-v9.0.0-dev.5

Published by MaikuB about 3 years ago

    • Breaking change the AndroidIcon class is now a generic class i.e. AndroidBitmap<T>. This has resulted in the following change
  • the type of the icon property that belongs to the Person class has changed from AndroidIcon? to AndroidIcon<Object>?
  • [Android] Added the ByteArrayAndroidIcon class that implements the AndroidIcon<T> class. This allows using a byte array to use as the icon for a person in a message style notification. A ByteArrayAndroidIcon.fromBase64String() named constructor is also available that will enable this using a base-64 encoded string. Thanks to the PR from Alexander Petermann
flutter_local_notifications - flutter_local_notifications-v9.0.0-dev.4

Published by MaikuB about 3 years ago

  • Breaking change fixed issue 1306 where an Android notification channel description should have been optional. This means the description property of the AndroidNotificationChannel class and the channelDescription property of the AndroidNotificationDetails class are now named optional parameters
  • Fixed grammatical errors in readme. Thanks to PR from Aneesh Rao
flutter_local_notifications - flutter_local_notifications-v8.2.0

Published by MaikuB about 3 years ago

  • Added dayOfMonthAndTime and dateAndTime values to the DateTimeComponents enum. These allow for creating monthly and yearly notifications respectively. Thanks to the PR from Denis Shakinov
flutter_local_notifications - flutter_local_notifications-v9.0.0-dev.3

Published by MaikuB about 3 years ago

  • 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
  • Updated example app to show how to display notification where a byte array is used to specify the icon on Linux
flutter_local_notifications - flutter_local_notifications-v8.1.1+1

Published by MaikuB about 3 years ago

  • Updated API docs for the initialize() to mention that the getNotificationAppLaunchDetails() method should be used to handle when a notification launches an application
flutter_local_notifications - flutter_local_notifications-v9.0.0-dev.2

Published by MaikuB about 3 years ago

  • Includes changes from 8.1.1 release
flutter_local_notifications - flutter_local_notifications-v8.1.1

Published by MaikuB about 3 years ago

  • [Android] fixed issue 1263 around an unchecked/unsafe operation warning
  • [Android] fixed issue 1246 where calling createNotificationChannel() wasn't update a notification channel's name/description
flutter_local_notifications - flutter_local_notifications-v9.0.0-dev.1

Published by MaikuB about 3 years ago

  • Restored Linux support
  • Android 12 support
  • Breaking change the value property of the Importance class is now non-nullable
  • Breaking change the FlutterLocalNotificationsPlugin.private() constructor that was visible for testing purposes has been removed. The plugin now uses the defaultTargetPlatform property from the Flutter framework to determine the platform an application running on. This removes the need for depending on the platform package. To write tests that require a platform-specific implementation of the plugin, the debugDefaultTargetPlatformOverride property can be used to do so
  • Plugin now uses the clock package for internal logic that relies on geting the current time, such as validating that the date for a scheduled notification is set in the future
flutter_local_notifications - flutter_local_notifications-v8.1.0

Published by MaikuB about 3 years ago

  • [Android] added the startForegroundService() and stopForegroundService() methods to the AndroidFlutterLocalNotificationsPlugin class. This can be used to start and stop a foreground service that shows a foreground service respectively. Refer to the API docs for more details on how to use this. The example app has been updated to demonstrate their usage. Thanks to the PR from EPNW
flutter_local_notifications - flutter_local_notifications-v8.0.0

Published by MaikuB about 3 years ago

  • Breaking change the AndroidBitmap class is now a generic class i.e. AndroidBitmap<T>. This has resulted in the following changes
  • the type of the largeIcon property that belongs to the AndroidNotificationDetails class has changed from AndroidBitmap to AndroidBitmap<Object>
  • the type of the largeIcon and bigPicture properties that belongs to the BigPictureStyleInformation class has changed from AndroidBitmap to AndroidBitmap<Object>
  • [Android] Added the ByteArrayAndroidBitmap class that implements the AndroidBitmaps<T> class. This allows using a byte array to use as the large icon for a notification or as big picture if the big picture style has been applied. A ByteArrayAndroidBitmap.fromBase64String() named constructor is also available that will enable this using a base-64 encoded string. Thanks to the PR from Alexander Petermann
flutter_local_notifications - flutter_local_notifications-v7.0.0

Published by MaikuB about 3 years ago

  • Breaking change Removed support for Linux. This is because adding Linux made use of a plugin that was causing apps targeting the web to fail to build
  • Note: as this is more an urgent release to resolve the aforementioned issue that results in a breaking change, please note this release does not include the Android 12 support changes that were in the prereleases. This is to err on the side of caution as Android 12 hasn't reached platform stability yet