Skip to content

Commit

Permalink
fixed typo in api docs for initialize (#2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikuB authored Jun 9, 2023
1 parent 3934347 commit 558b2dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions flutter_local_notifications/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# [15.0.0-dev.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
* [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
* Fixed typo in API docs for `initialize()` method

# [15.0.0-dev.1]

* **Breaking change** removed deprecated `schedule`, `showDailyAtTime` and `showWeeklyAtDayAndTime` methods. Notifications that were scheduled prior to this release should still work
* **Breaking change** removed deprecated `schedule()`, `showDailyAtTime()` and `showWeeklyAtDayAndTime()` methods. Notifications that were scheduled prior to this release should still work
* **Breaking change** removed `Time` class
* [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`
* [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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ class IOSFlutterLocalNotificationsPlugin
/// Initialisation may also request notification permissions where users will
/// see a permissions prompt. This may be fine in cases where it's acceptable
/// to do this when the application runs for the first time. However, if your
/// applicationn needs to do this at a later point in time, set the
/// application needs to do this at a later point in time, set the
/// [DarwinInitializationSettings.requestAlertPermission],
/// [DarwinInitializationSettings.requestBadgePermission] and
/// [DarwinInitializationSettings.requestSoundPermission] values to false.
Expand Down Expand Up @@ -716,7 +716,7 @@ class MacOSFlutterLocalNotificationsPlugin
/// Initialisation may also request notification permissions where users will
/// see a permissions prompt. This may be fine in cases where it's acceptable
/// to do this when the application runs for the first time. However, if your
/// applicationn needs to do this at a later point in time, set the
/// application needs to do this at a later point in time, set the
/// [DarwinInitializationSettings.requestAlertPermission],
/// [DarwinInitializationSettings.requestBadgePermission] and
/// [DarwinInitializationSettings.requestSoundPermission] values to false.
Expand Down

0 comments on commit 558b2dd

Please sign in to comment.