diff --git a/.cirrus.yml b/.cirrus.yml index 3ab328339..a4d9dfcee 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -25,7 +25,7 @@ task: pub_cache: folder: ~/.pub-cache upgrade_script: - - flutter channel master + - flutter channel dev - flutter upgrade setup_script: - flutter config --enable-macos-desktop diff --git a/flutter_local_notifications/CHANGELOG.md b/flutter_local_notifications/CHANGELOG.md index 536da4b67..9daa936e3 100644 --- a/flutter_local_notifications/CHANGELOG.md +++ b/flutter_local_notifications/CHANGELOG.md @@ -1,3 +1,7 @@ +# [4.0.1+1] + +* Fixed typo in readme around the note relating to version 4.0 of the plugin where `onSelectNotification` will not be triggered when an app is launched by tapping on a notification. + # [4.0.1] * [Android] added the `getNotificationChannels` method to the `AndroidFlutterLocalNotificationsPlugin` class. This can be used to a get list of all the notification channels on devices with Android 8.0 or newer. Thanks to the PR from [Shapovalova Vera](https://github.com/VAShapovalova) diff --git a/flutter_local_notifications/README.md b/flutter_local_notifications/README.md index d400aff40..bc0866ca0 100644 --- a/flutter_local_notifications/README.md +++ b/flutter_local_notifications/README.md @@ -302,7 +302,7 @@ The `IOSInitializationSettings` and `MacOSInitializationSettings` provides defau On iOS and macOS, initialisation may show a prompt to requires users to give the application permission to display notifications (note: permissions don't need to be requested on Android). Depending on when this happens, this may not be the ideal user experience for your application. If so, please refer to the next section on how to work around this. -*Note*: from version 4.0 of the plugin, calling `initialize` will now trigger the `onSelectNotification` callback when the application was started by tapping on a notification to trigger. Use the `getNotificationAppLaunchDetails` method that is available in the plugin if you need to handle a notification triggering the launch for an app e.g. change the home route of the app for deep-linking. +*Note*: from version 4.0 of the plugin, calling `initialize` will not trigger the `onSelectNotification` callback when the application was started by tapping on a notification to trigger. Use the `getNotificationAppLaunchDetails` method that is available in the plugin if you need to handle a notification triggering the launch for an app e.g. change the home route of the app for deep-linking. ### [iOS (all supported versions) and macOS 10.14+] Requesting notification permissions diff --git a/flutter_local_notifications/pubspec.yaml b/flutter_local_notifications/pubspec.yaml index 87fcdcdb9..a389059cb 100644 --- a/flutter_local_notifications/pubspec.yaml +++ b/flutter_local_notifications/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_local_notifications description: A cross platform plugin for displaying and scheduling local notifications for Flutter applications with the ability to customise for each platform. -version: 4.0.1 +version: 4.0.1+1 homepage: https://github.com/MaikuB/flutter_local_notifications/tree/master/flutter_local_notifications dependencies: