Releases: MaikuB/flutter_local_notifications
Releases · MaikuB/flutter_local_notifications
flutter_local_notifications-v19.5.0
- [iOS][macOS] added
requestProvidesAppNotificationSettings
option toDarwinInitializationSettings
class, andisProvidesAppNotificationSettingsEnabled
toNotificationsEnabledOptions
class. This allows applications to show a "Configure Notifications in " option when showing the context menu for an individual notification. This can be used for scenarios where an application can respond to the user selecting this option to show a custom page for controlling notification settings. Please note this whilst the API changes are applicable for iOS and macOS, the actual functionality only appears to be supported by Apple when it comes to iOS devices. See example app to see how this new functionality can be implemented. Thanks to the PR from Luke Memet
flutter_local_notifications-v19.4.2
- [Windows] fixed issue where non-ASCII characters for the notification application name weren't being displayed properly. Thanks to the PR from yoyoIU
flutter_local_notifications-v19.4.1
- [Android] fixed issue #2675 where addition of
invisible
flag to notification actions could cause scheduled notifications with actions created prior to 19.4.0 to fail to show - Updated the Android release build configuration section to point to the latest location of the official Android docs on how to configure which resources (e.g. notification icons) are kept so they are not discarded by the Android compiler. It has also been reworded to make it clearer that this applies to all Android resources
flutter_local_notifications-v19.4.0
- [Android] added ability to read
dataMimeType
anddataUri
when callinggetActiveNotifications()
to read details of an active Android notification using the messaging style. Thanks to the PR from Matt Bajorek - [Android] added support for Android semantic actions. Thanks to the PR from Jared Szechy
flutter_local_notifications-v19.3.1
flutter_local_notifications-v19.3.0
- [Android][iOS][macOS] added
cancelAllPendingNotifications()
method for cancelling all pending notifications that have been scheduled. Thanks to the PR from Kwon Tae Hyung
flutter_local_notifications-v19.2.1
- [macOS] removed redundant code that was only applicable on macOS versions lower than 10.14. This should be a non-functional change since 18.0.0 bumped the minimum Flutter SDK requirements that in turn required macOS 10.14 at a minimum. Thanks to the PR from Blin Qipa
- [Android] bumped robolectric dependency. This fixes an issue where some users reported receiving instances of
java.lang.NoClassDefFoundError
around the plugin's Android unit tests. Thanks to the PR from Turtlepaw
flutter_local_notifications-v19.2.0
- [Android] added support to bypass have notifications bypass the device's Do Not Disturb (DnD) settings. Thanks the PR from Michel v. Varendorff that added the following changes
- The
hasNotificationPolicyAccess()
method that checks if the application can modify the notification policy - The
requestNotificationPolicyAccess()
method that was added theAndroidFlutterNotificationsPlugin
class. This can be used request access for the calling application modify the notification policy - Added
bypassDnd
the property of theAndroidNotificationChannel
class andchannelBypassDnd
to theAndroidNotificationDetails
class. These can used to indicate if notifications associated with the channel can bypass the DnD settings of the device
- The
- Bumped
msix
dev dependency in example app. This to fix the issue where themsix
package stopped being able to created MSIX installers
flutter_local_notifications-v19.1.0
- [iOS][macOS] added supported to specify the volume for critical alerts. Thanks to the PR from bannzai
- Updated Gradle setup information in the readme to clarify that desugaring needs to be enabled even if scheduled notifications aren't used
flutter_local_notifications-v19.0.0
- [Android] Breaking change bumped
compileSdk
to 35 and updated readme to mention this - [Android] bumped GSON dependency to 2.12. As a result of doing so, applications should no longer need ProGuard rules related to this plugin that were needed for release builds to function. The readme has been updated to remove the associated setup to reflect this. Thanks to the PR from Koji Wakamiya
- [Android] bumped Android Gradle Plugin to 8.6.0 to align with the minimum version to use
compileSdk
version 35 (Android 15) - [Android] bumped desugaring library to 2.1.4 and set Java compatibility to 11 instead of 8. Readme has been updated to reflect these changes where
sourceCompatibility
andtargetCompability
should be set to JavaVersion.VERSION_11 (i.e. Java 11), andjvmTarget
is set to11
- [iOS] Breaking change removed
uiLocalNotificationDateInterpretation
parameter fromzonedSchedule()
method. This was done as it actually no relevant as of the 18.0.0 that dropped support for iOS versions older than 10, which in turn meant that the deprecatedUILocalNotification
APIs from Apple were no longer used. The correspondingUILocalNotificationDateInterpretation
enum has already been removed as well - [iOS][macOS] Breaking changes the
DarwinNotificationActionOption
andDarwinNotificationCategoryOption
are now enhanced enums with values accessible through thevalue
property that are exactly the same as their native representations. Previously a bitwise left shift operation was applied to the index value - [iOS][macOS] Breaking change renamed
Converters
header and implementation toFlutterLocalNotificationsConverters
. This would likely not affect any users of the plugin. Done to fix/mitigate issues #2160 and #2529 where the original name could clash - [iOS][macOS] added Swift Package Manager support
- [Windows] Added support for Windows. Thanks to PR Levi Lesches that continued the work done initially done by Kenneth and lightrabbit
- Breaking change bumped minimum Flutter SDK requirement to 3.22.0 and Dart SDK requirement to 3.4.0. The minimum supported Android version is now 5.0 (API level 21)
- Bumped
timezone
dependency so that minimum version is now 0.10.0 - Bumped multiple dependencies in example app
- Bumped minimum
plugin_platform_interface
version to 2.1.8 - Updated example app's
AndroidManifest.xml
to request internet permissions so that release builds can download remote content - Migrated example app to use Plugin DSL. Thanks to the PR from Martin Bertele
- Updated
compileSdk
andtargetSdkVersion
of example app to 35