Releases: MaikuB/flutter_local_notifications
Releases · MaikuB/flutter_local_notifications
flutter_local_notifications-v18.0.0-dev.1
- Breaking changes Bumped minimum Flutter SDK requirement to 3.13. Consequently the minimum OS requirements for each platform has been updated as well
- [Android] minimum Android version is now 4.4 (API level 19)
- [iOS] minimum iOS version is now 11
- [macOS] minimum macOS version is now 10.14
- [Android] Breaking change removed the deprecated
androidAllowWhileIdle
parameter fromzonedSchedule()
andperiodicallyShow()
methods.androidScheduleMode
is now a required parameter - Breaking change plugin has been fixed with regards to how it registers the platform-specific implementations of the plugin. Thanks to the PR from Kate. Any written tests done on the [FlutterLocalNotificationsPlugin] will need to manually call the
registerWith()
method that has been added to each implementation. This affects the following platforms/classes where theregisterWith()
method was added- [Android]
AndroidFlutterLocalNotificationsPlugin
- [iOS]
IOSFlutterLocalNotificationsPlugin
- [macOS]
MacOSFlutterLocalNotificationsPlugin
- [Android]
- Fixed example app to have the appropriate permissions for foreground services
- Updated readme when it comes to setting up the
AndroidManifest.xml
file to include details of what's needed for foreground services. Note these details were already available in the API docs
flutter_local_notifications-v17.2.3
- [Android] fixed #2309 where plugin runs into an exception getting the sound information for a notification channel. Thanks to the PR from Goddchen
- Fixed typo in readme. Thanks to PR from Ahmad Mahmoudi
flutter_local_notifications-v17.2.2
- 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 theflutter_local_notifications_linux
package itself - [Android] fixed issue where notifications with tags weren't cancelled when action was invoked when the
autoCancel
property for the action was set totrue
. Thanks to the PR from Remco Anker
flutter_local_notifications-v17.2.1+2
- Updated Gradle setup readme section around specifying AGP version to include link to Flutter documentation for apps that are using the declarative Plugin DSL syntax
flutter_local_notifications-v17.2.1+1
- Fixed accidental change done in example app as part of 17.2.0 where it made use of
SCHEDULE_EXACT_ALARM
permission instead ofUSE_EXACT_ALARM
flutter_local_notifications-v17.2.1
- [Android] fixed issue #2329 where a compilation issue could occur due to ambiguity between Android APIs being called. Thanks to the PR from Greg Price
flutter_local_notifications-v17.2.0
- [Android][iOS][macOS] added
periodicallyShowWithDuration()
method that allows for having a notification periodically shown based on a specified duration. The duration will need to be at least a minute. Thanks to the PR from Mateusz Łuczak - [Android] added the
requestFullScreenIntentPermission()
to theAndroidFlutterNotificationsPlugin
class. This allows app to request the full-screen intent permission. Updated the documentation around full-screen intent notifications accordingly as well - Added a comment to the
AndroidManifest.xml
file of the example to state that it requests theUSE_EXACT_ALARM
only for ease of use. Developers will need to check if they should be using theSCHEDULE_EXACT_ALARM
permission instead
flutter_local_notifications-v17.1.2
- [Android] fixed issue 2318 where an exception could occur on calling the
getNotificationChannels()
method from theAndroidFlutterLocalNotificationsPlugin
class. This happened when Android found that the audio attributes associated with the channel was null. The plugin will now coalesce the null value to indicate that the usage of the audio is for notifications as per https://developer.android.com/reference/android/media/AudioAttributes#USAGE_NOTIFICATION. On the Dart side, this would correspond to the AudioAttributesUsage.notification enum value
flutter_local_notifications-v17.1.1
- [Android] fixes issue #2299 where within the range of the max integer value of epoch time passed to a messaging style would result in a casting exception
flutter_local_notifications-v17.1.0
- [Android]
bigText
has added toActiveNotification
that allows getting information about the longer text associated with a notification displayed using the big text style. Thanks to the PR from vulpeep - [Android] added
audioAttributesUsage
toAndroidNotificationChannel
. Thanks to the PR from Dithesh - Fix description of the behaviour iOS pending notifications limit. Thanks to the PR from Amman Zaman
- Updated link in readme to Gradle desugaring setup. Thanks to the PR from James Allen