Skip to content

Releases: MaikuB/flutter_local_notifications

flutter_local_notifications-v1.5.0-beta.4

02 Jul 14:07
Compare
Choose a tag to compare
  • [Android] Fix issue where the ThreeTen Android Backport library wasn't initialised
  • Bump e2e dev dependency

flutter_local_notifications-v1.5.0-beta.3

17 Jun 11:12
Compare
Choose a tag to compare
  • [Android] Fixed issue 670 where getNotificationAppLaunchDetails() behaved inconsistently depending on if it was called before or after initialize()

flutter_local_notifications-v1.5.0-beta.2

08 Jun 00:11
Compare
Choose a tag to compare
  • Reverted removal of code done in 1.5.0-beta.2 relating notification timestamps as it could prevent notifications from appearing for users of the plugin prior to 0.3.4
  • Cleaned up native iOS code that is no longer needed
  • [iOS] Added ability to specify a subtitle for a notification via the subtitle property of the IOSNotificationDetails class. This property is only application to iOS versions 10 or newer
  • Moved testing section of readme to the bottom of the readme and updated some of the wording

flutter_local_notifications-v1.4.4+1

06 Jun 05:29
e193b88
Compare
Choose a tag to compare
  • Added details that platform-specific implementations can be obtained to the Caveats and limitations section
  • Added a note on restrictions imposed by the OS by Android OEMs that may be prevent scheduled notifications appearing
  • Release configurations section of the readme renamed to Release build configuration

flutter_local_notifications-v1.4.4

01 Jun 11:03
08b8230
Compare
Choose a tag to compare
  • [iOS] Fixes to ensure that the native completion handlers were called appropriately. If you had some issues using this plugin combined with push notifications (e.g. via firebase_messaging) when the app was in the foreground then I would recommend updating to this version. Thanks to Paweł Szot for picking up the gap in the code in handling the native willPresentNotification call
  • The readme has been been touched up and had some sections rearranged. Thanks to the PR from psyanite
  • Bumped lower bound of Dart SDK dependency to 2.0

flutter_local_notifications_platform_interface-v2.0.0-beta.1

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

flutter_local_notifications-v1.5.0-beta.1

01 Jun 12:48
Compare
Choose a tag to compare
  • Added macOS implementation of the plugin
  • The schedule, showDailyAtTime and showWeeklyAtDayAndTime methods has been marked as a deprecated due to problems with time zones,particularly when it comes to daylight savings.
  • Added the zonedSchedule method to the plugin that allows for scheduling notifications to occur on a specific date and time relative a specific time zone. This can be used to schedule daily and weekly notifications as well. The example app has been updated to demonstrate its usage. Note that to support time zone-based scheduling, the plugin now depends on the timezone package so that an instance of the TZDateTime class is required to the specify the time the notification should occur. This should work in most cases as it is IANA-based and native platforms have time zones that are IANA-based as well. To support time zone aware dates on older versions of Android (which use older Java APIs), the plugin depends on the ThreeTen Android Backport library. Once Flutter's support for Android Studio 4.0 and Android Gradle plugin 4.0 has stabilised, the plugin will be updated to make use of desugaring instead of relying on the ThreeTen Android Backport library.
  • [Android] As part of cleaning up the plugin, I'm removing th kludge I put in version 0.3.4 that I stated I would eventually remove. This was to fix the timestamps of notifications (relates to this issue) scheduled prior to 0.3.4. This will make the plugin more easier to maintain
  • [Android] Fixed an issue where the error message for an invalid source resource wasn't formatted correctly to include the name of the specified resource
  • [Android] Added androidAllowWhileIdle boolean argument to the periodicallyShow method. When set to true, this changes how recurring notifications are shown so that the Android AlarmManager API is used to schedule a notification with exact timing. When the notification appears, the next one is scheduled after that. This is get around the limitations where the AlarmManager APIs don't provide a way for work to be repeated with precising timing regardless of the power mode.
    The example app has been updated to include these changes so that it can be used as a reference as well
  • [iOS] Updated the details in the plugin's podspec file
  • Breaking change The InitializationSettings and NotificationDetails classes no longer have positional parameters but now have named parameters called android and iOS for passing in data specific to Android and iOS. There macOS named parameter has also been added for passing data specific to macOS
  • Breaking change The toMap method that was used internally to transfer data over platform channels is no longer publicly accessible
  • Breaking change All enum values have been renamed to follow lower camel case convention. This affects the following enums
    • Day
    • AndroidNotificationChannelAction
    • Importance (note: as default is a keyword, what use to be Default is now defaultImportance)
    • Priority (note: as default is a keyword, what use to be Default is now defaultPriority)
    • GroupAlertBehavior
    • NotificationVisibility
    • RepeatInterval
  • Breaking change assertions have been added to the IOSInitializationSettings constructor to prevent null values being passed in
  • Updated example app so that code for demonstrating functionality that is specific to a platform are only visible when running on the appropriate platform
  • Bumped e2e dev dependency
  • Bumped Android dependencies
  • Updated example app's Proguard rules file to match latest configuration required by GSON
  • Bumped lower bound of Dart SDK dependency to 2.6

flutter_local_notifications-v1.4.3

04 May 09:42
c34ae54
Compare
Choose a tag to compare
  • [Android] added the ability to specify additional flags for the notification. For example, this could be used to allow the audio to repeat. See the API docs and update example app for more details. Thanks to the PR from andylei
  • Minor cleanup of API docs

flutter_local_notifications-v1.4.2

26 Apr 01:05
66bf8be
Compare
Choose a tag to compare
  • [Android] added the ability to specify the timestamp shown in the notification (issue 596). Thanks to the PR from Nicolas Schneider.
  • Fixed API docs for showWeeklyAtDayAndTime

flutter_local_notifications-v1.4.1

10 Apr 22:52
60072d6
Compare
Choose a tag to compare
  • [Android] added the ability to create notification channels before a notification is shown. This can be done by calling the createNotificationChannel within the AndroidFlutterLocalNotificationsPlugin class. This allows applications to create notification channels before a notification is shown. Thanks to the PR from Vladimir Gerashchenko.
  • [Android] added the ability to delete notification channels. This can be done by calling deleteNotificationChannel within AndroidFlutterLocalNotificationsPlugin class.