Releases: MaikuB/flutter_local_notifications
Releases · MaikuB/flutter_local_notifications
flutter_local_notifications-v16.0.0
- [Android] Breaking change renamed the
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). - [Android] Breaking change the plugin now only declares the bare minimum in its
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 1687 - [Android] added the ability to request permission to schedule exact alarms via the
requestExactAlarmsPermission()
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 1906 - [Android] bumped Java desugaring dependency and updated readme accordingly to also mention Gradle version that is used by plugin
- [Android] fixed issue an issue similar to 2033 that was addressed in 15.0.1 where notifications on scheduled using older version of the plugin via the
periodicallyShow()
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 releases - [Android] fixed issue 2106 where calling
getNotificationChannels()
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 releases - [iOS][macOS] addresses issue 2097 by updating API docs for the
presentSound
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 false - Updated example app so that the Android side specifies minimum SDK version version that aligns with what's specified by the Flutter SDK
- Fixed Dart API docs for
DarwinNotificationDetails
class wherethis This
was being repeated. Thanks to the PR from Adrian Jagielak - Fixed example code shown at the "Handling notifications whilst the app is in the foreground" section of the readme. Thanks to the PR from Tinh Huynh
flutter_local_notifications-v15.1.2
- [Android] fixed issue 2106 where calling
getNotificationChannels()
reports the wrong importance level or result in an exception if the importance level was unspecified. This hotfix has been taken from the 16.0.0-dev.3 prerelease and included in the 14.1.4 hotfix release
flutter_local_notifications-v14.1.4
- [Android] fixed issue 2106 where calling
getNotificationChannels()
reports the wrong importance level or result in an exception if the importance level was unspecified. This hotfix has been taken from the 16.0.0-dev.3 prerelease
flutter_local_notifications-v16.0.0-dev.3
- [Android] fixed issue 2106 where calling
getNotificationChannels()
reports the wrong importance level or result in an exception if the importance level was unspecified - Fixed example code shown at the "Handling notifications whilst the app is in the foreground" section of the readme. Thanks to the PR from Tinh Huynh
flutter_local_notifications-v15.1.1
- [Android] fixed issue an issue similar to 2033 that was addressed in 15.0.1 where notifications on scheduled using older version of the plugin via the
periodicallyShow()
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 hotfix has been taken from the 16.0.0-dev.2 prerelease and has also been applied to the 14.1.3 hotfix release as well - Updated example app so that the Android side specifies minimum SDK version version that aligns with what's specified by the Flutter SDK. This has been taken from the 16.0.0-dev.2 prerelease to allow the example app to build using recent versions where the minimum Android SDK version has changed from 16 to 19
flutter_local_notifications-v14.1.3+1
- Removed duplicate changelog entry on example app being updated
flutter_local_notifications-v14.1.3
- [Android] fixed issue an issue similar to 2033 that was addressed in 15.0.1 where notifications on scheduled using older version of the plugin via the
periodicallyShow()
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 hotfix has been taken from the 16.0.0-dev.2 prerelease - Updated example app so that the Android side specifies minimum SDK version version that aligns with what's specified by the Flutter SDK. This has been taken from the 16.0.0-dev.2 prerelease to allow the example app to build using recent versions where the minimum Android SDK version has changed from 16 to 19
flutter_local_notifications-v16.0.0-dev.2
- [Android] fixed issue an issue similar to 2033 that was addressed in 15.0.1 where notifications on scheduled using older version of the plugin via the
periodicallyShow()
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 - Updated example app so that the Android side specifies minimum SDK version version that aligns with what's specified by the Flutter SDK
- Fixed Dart API docs for
DarwinNotificationDetails
class wherethis This
was being repeated. Thanks to the PR from Adrian Jagielak
flutter_local_notifications-v16.0.0-dev.1
- [Android] Breaking change renamed the
requestPermission()
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). - [Android] Breaking change the plugin now only declares the bare minimum in its
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 1687 - [Android] added the ability to request permission to schedule exact alarms via the
requestExactAlarmsPermission()
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 1906 - [Android] bumped Java desugaring dependency and updated readme accordingly to also mention Gradle version that is used by plugin
flutter_local_notifications-v15.1.0+1
- Fixed formatting of 15.1.0 changelog entry