Skip to content

Commit 558b2dd

Browse files
authored
fixed typo in api docs for initialize (#2024)
1 parent 3934347 commit 558b2dd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

flutter_local_notifications/CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# [15.0.0-dev.2]
2-
* [Linux] **Breaking change** calling `zonedSchedule` on Linux will now throw an `UnimplementedError` to align with how their is a Linux implementation but the method hasn't been implemented
2+
* [Linux] **Breaking change** calling `zonedSchedule()` on Linux will now throw an `UnimplementedError` to align with how their is a Linux implementation but the method hasn't been implemented
3+
* Fixed typo in API docs for `initialize()` method
34

45
# [15.0.0-dev.1]
56

6-
* **Breaking change** removed deprecated `schedule`, `showDailyAtTime` and `showWeeklyAtDayAndTime` methods. Notifications that were scheduled prior to this release should still work
7+
* **Breaking change** removed deprecated `schedule()`, `showDailyAtTime()` and `showWeeklyAtDayAndTime()` methods. Notifications that were scheduled prior to this release should still work
78
* **Breaking change** removed `Time` class
89
* [Android] updated tags used when writing error logs. For corrupt scheduled notifications and error is logged the tag is now `ScheduledNotifReceiver` instead of `ScheduledNotifReceiver`. When logging that exact alarm permissions have been revoked the the tag is now `FLTLocalNotifPlugin` instead of `notification`
910
* [iOS][macOS] **Breaking change** added supported for banner and list presentation options for iOS and macOS that is applicable for iOS 14.0 or newer and macOS 11 or newer. This is a breaking change as the values default to true and the alert presentation option is no longer applicable on these OS versions as Apple has deprecated it to be replaced by the banner and list presentations. Please ensure that if you target these OS versions that you configure the options appropriately for your application.

flutter_local_notifications/lib/src/platform_flutter_local_notifications.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ class IOSFlutterLocalNotificationsPlugin
533533
/// Initialisation may also request notification permissions where users will
534534
/// see a permissions prompt. This may be fine in cases where it's acceptable
535535
/// to do this when the application runs for the first time. However, if your
536-
/// applicationn needs to do this at a later point in time, set the
536+
/// application needs to do this at a later point in time, set the
537537
/// [DarwinInitializationSettings.requestAlertPermission],
538538
/// [DarwinInitializationSettings.requestBadgePermission] and
539539
/// [DarwinInitializationSettings.requestSoundPermission] values to false.
@@ -716,7 +716,7 @@ class MacOSFlutterLocalNotificationsPlugin
716716
/// Initialisation may also request notification permissions where users will
717717
/// see a permissions prompt. This may be fine in cases where it's acceptable
718718
/// to do this when the application runs for the first time. However, if your
719-
/// applicationn needs to do this at a later point in time, set the
719+
/// application needs to do this at a later point in time, set the
720720
/// [DarwinInitializationSettings.requestAlertPermission],
721721
/// [DarwinInitializationSettings.requestBadgePermission] and
722722
/// [DarwinInitializationSettings.requestSoundPermission] values to false.

0 commit comments

Comments
 (0)