chore(deps): update flutter_local_notifications to v16 #113
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^15.0.0
->^16.0.0
Release Notes
MaikuB/flutter_local_notifications (flutter_local_notifications)
v16.1.0
Compare Source
requestExactAlarmsPermission()
method will now go directly to the alarm settings screen specific to the app instead the general alarm settings screen where users needed to pick the app they wanted to change the settings for. Thanks to the PR from ShunMcv16.0.0+1
Compare Source
v16.0.0
Compare Source
requestPermission()
method associated with theAndroidFlutterLocalNotificationsPlugin
class torequestNotificationsPermission()
. This was done to be more explicit given another method (requestExactAlarmsPermission()
) has been added that also requests a permission (more details below).AndroidManifest.xml
. This means applications making use of either scheduled notifications, full-screen intent notifications or notification actions will now require changes in the application's ownAndroidManifest.xml
file. Please check the AndroidManifest.xml setup section of the readme for more details. The reason this was done was because not all applications will leverage all of the plugin's features. Doing this will now allow applications to only request the appropriate permissions needed for their application. This addresses issue 1687requestExactAlarmsPermission()
method that has been added to theAndroidFlutterLocalNotificationsPlugin
class that represents the Android implementation of the plugin. This has been done in response to behaviour changes introduced in Android 14 (API level 34) when comes to using exact alarms. See the official documentation about these changes here. This change addresses issue 1906periodicallyShow()
method would fail to have the next subsequent ones scheduled. This issue started occuring in 14.0 where support for inexact notifications was added using theScheduleMode
enum that was added and resulted in the deprecation ofandroidAllowWhileIdle
. A mechanism was added to help "migrate" old notifications that hadandroidAllowWhileIdle
specified but didn't account for how there are recurring notifications that were scheduled using older versions of the plugin prior toandroidAllowWhile
being added. This was also released as part of the 15.1.1 and 14.1.3 hotfix releasesgetNotificationChannels()
reports the wrong importance level or result in an exception if the importance level was unspecified. This was also released as part of the 15.1.2 and 14.1.4 hotfix releasespresentSound
anddefaultPresentSound
properties that belong to theDarwinNotificationDetails
andDarwinInitializationSettings
classes respectively to clarify the background behaviour and how have a sound play even when app is the background yet these properties are set to falseDarwinNotificationDetails
class wherethis This
was being repeated. Thanks to the PR from Adrian JagielakConfiguration
📅 Schedule: Branch creation - "after 2pm on sunday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.