Skip to content

Commit

Permalink
updated plugin to no longer register Linux implementation (MaikuB#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikuB authored Jul 23, 2024
1 parent 49c487f commit 5941c09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions flutter_local_notifications/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* **Breaking change** Bumped minimum Flutter SDK requirement to 3.13
* [Android] **Breaking change** removed the deprecated `androidAllowWhileIdle` parameter from `zonedSchedule()` and `periodicallyShow()` methods. `androidScheduleMode` is now a required parameter
* Bumped dependency on `flutter_local_notifications_linux` to 4.0.1. Updated app-facing packaging to no longer create and register the Linux implementation as this will now be handled by the `flutter_local_notifications_linux` package itself

## [17.2.1+2]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ class FlutterLocalNotificationsPlugin {
} else if (defaultTargetPlatform == TargetPlatform.macOS) {
FlutterLocalNotificationsPlatform.instance =
MacOSFlutterLocalNotificationsPlugin();
} else if (defaultTargetPlatform == TargetPlatform.linux) {
FlutterLocalNotificationsPlatform.instance =
LinuxFlutterLocalNotificationsPlugin();
}
}

Expand Down
4 changes: 2 additions & 2 deletions flutter_local_notifications/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: flutter_local_notifications
description: A cross platform plugin for displaying and scheduling local
notifications for Flutter applications with the ability to customise for each
platform.
version: 17.2.1+2
version: 17.2.2
homepage: https://github.com/MaikuB/flutter_local_notifications/tree/master/flutter_local_notifications
issue_tracker: https://github.com/MaikuB/flutter_local_notifications/issues

dependencies:
clock: ^1.1.0
flutter:
sdk: flutter
flutter_local_notifications_linux: ^4.0.0
flutter_local_notifications_linux: ^4.0.1
flutter_local_notifications_platform_interface: ^7.2.0
timezone: ^0.9.0

Expand Down

0 comments on commit 5941c09

Please sign in to comment.