carverauto / flutter

🚨 ChaseApp opensource mobile app - follow live police chases 🚔
https://chaseapp.tv
MIT License
3 stars 0 forks source link

Bump flutter_local_notifications from 9.9.1 to 12.0.2 #208

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Bumps flutter_local_notifications from 9.9.1 to 12.0.2.

Release notes

Sourced from flutter_local_notifications's releases.

flutter_local_notifications-v12.0.2

  • [Android] changed callback lookup for notification actions to take place after Flutter engine to ensure callback cache has been initialised to find the callback. This is a follow-up to changes done in 12.0.1 in trying to address issue 1721
  • [Android] updated plugin to clean up resources after it is detached from Flutter engine. Thanks to PR from Simon Ser

flutter_local_notifications-v12.0.1

  • [Android][iOS] fixed issue 1721 where a crash occurs upon tapping on a notification action fbut the onDidReceiveBackgroundNotificationResponse optional callback hasn't been specified.
  • [iOS] suppressed deprecation warnings where plugin was Apple's old notification APIs to support older iOS devices

flutter_local_notifications-v12.0.1+1

  • Updated readme to indicate that the timezone package should be added as a direct dependency according to this official lint rule
  • Bumped dependency constraints on flutter_local_notification_linux that was meant to be done in 12.0.0

flutter_local_notifications-v12.0.0

  • Bumped dbus dependency via flutter_local_notifications_linux

flutter_local_notifications-v11.0.1

  • [Android] fixed crash when using notification actions with a foreground service. Thanks to the PR from Arnold Laishram
  • [Android] Suppressed deprecation warning on calling the getParcelableExtra Intent API
  • Fixed typo in readme around Darwin (iOS/macOS) initialisation settings
  • Added a link to an issue with using Flutter apps with desugaring enabled where crashes could occur on foldable Android devices. Link to this is flutter/flutter#110658 so those experience the problem can follow the issue and try out the solutions there as this isn't specific to the plugin
  • Replaced usage of rxDart in example app use StreamController instead to minimise use of dependencies and removed unused shared_preferences dependency

flutter_local_notifications-v11.0.0

  • Bumped timezone dependency. To err on the safe when it comes to dependency version conflicts, this is being published as major release as the updated timezone package was published as a major release. Thanks to the PR from Joachim Nohl

flutter_local_notifications-v10.0.0

  • Breaking change [Android] zonedSchedule()'s implementation has switched to using desugaring instead of the ThreeTen Android Backport library. This required the plugin to update to using Android Gradle plugin 4.2.2 and applications may need to bump their Android Gradle plugin dependency to at least 4.2.2 as a result. Added a "Gradle setup" section underneath "Android setup" with details on the extra setup needed
  • [Android] Breaking change the following error codes included in PlatformExceptions that can occur on Android have been updated
    • INVALID_ICON -> invalid_icon
    • INVALID_LARGE_ICON -> invalid_large_icon
    • INVALID_BIG_PICTURE -> invalid_big_picture
    • INVALID_SOUND -> invalid_sound
    • INVALID_LED_DETAILS -> invalid_led_details
    • GET_ACTIVE_NOTIFICATIONS_ERROR_CODE -> unsupported_os_version
    • GET_NOTIFICATION_CHANNELS_ERROR_CODE -> getNotificationChannelsError
    • GET_ACTIVE_NOTIFICATION_MESSAGING_STYLE_ERROR_CODE -> getActiveNotificationMessagingStyle
    • PERMISSION_REQUEST_IN_PROGRESS -> permissionRequestInProgress
  • [Android] Breaking change the category of the AndroidNotificationDetails now requires an instance of the newly added AndroidNotificationCategory class instead of a string. This was to improve the discoverability of the APIs and improve the semantics as the category can specified in a similar fashion to using an enum value
  • Breaking change callbacks have now been reworked. There are now the following callbacks and both will pass an instance of the NotificationResponse class
    • onDidReceiveNotificationResponse: invoked only when the app is running. This works for when a user has selected a notification or notification action. This replaces the onSelectNotification callback that existed before. For notification actions, the action needs to be configured to indicate the the app or user interface should be shown on invoking the action for this callback to be invoked i.e. by specifying the DarwinNotificationActionOption.foreground option on iOS and the showsUserInterface property on Android. On macOS and Linux, as there's no support for background isolates it will always invoke this callback
    • onDidReceiveBackgroundNotificationResponse: invoked on a background isolate for when a user has selected a notification action. This replaces the onSelectNotificationAction callback
  • Breaking change the NotificationAppLaunchDetails has been updated to contain an instance NotificationResponse class with the payload belonging to the NotificationResponse class. This is to allow knowing more details about what caused the app to launch e.g. if a notification action was used to do so
  • [iOS][macOS] Breaking changes iOS and macOS classes have been renamed and refactored as they are based on the same operating system and share the same notification APIs. Rather than having a prefix of either IOS or MacOS, these are now replaced by classes with a Darwin prefix. For example, IOSInitializationSettings can be replaced with DarwinInitializationSettings
  • [macOS] Breaking change the requestPermissions() method of the MacOSFlutterLocalNotificationsPlugin class now only accepts non-nullable parameters that default to false. This makes it consistent with the iOS implementation of the plugin
  • Added support for notification actions. Massive thanks to Sebastian Roth, Pieter van Loon and Yaroslav Pronin for their work on this. Note that on Apple's platforms, notification actions are only supported on iOS 10 or newer and macOS 10.14 or newer
  • [Linux] Breaking change the linux notification categories defined by LinuxNotificationCategory no longer has factory constructors but has static constant fields instead to make the semantics more similar to access enum values
  • [Android] Updated how scheduled notifications are saved to shared preferences so it is done in the background. This is to fix issue 1378 where pendingNotificationRequests method may not report the correct number of scheduled notifications if it is invoked before the data had been saved to shared preferences
  • [Android] fixed issue 1702 by handling deprecation warnings using specific Android Intent APIs on Android 13 (API level 33) or newer
  • [iOS] getActiveNotifications() is now supported for iOS versions 10.0 or newer
  • [macOS] getActiveNotifications() is now supported for macOS versions 10.14 or newer

... (truncated)

Commits
  • 341fa58 [flutter_local_notifications] lookup callback after Flutter engine is created...
  • c9d3132 Handle onDetachedFromEngine in Android (#1746)
  • f38183d [flutter_local_notifications] updated readme to add guidance on adding timezo...
  • 55a32e1 Bump flutter_local_notifications_linux in /flutter_local_notifications (#1741)
  • ed7e673 configure dependabot to look for updates from pub
  • 5e89614 [flutter_local_notifications] suppress deprecation warnings on iOS relating t...
  • 6d3e1ab [flutter_local_notifications] fix crash occurring for notification actions th...
  • b4ec7d7 bumped dbus dependency (#1734)
  • 48b7e63 suppress getParcelableExtra deprecation warning (#1718)
  • 6e342ae [flutter_local_notifications] remove rxDart from example app and remove unuse...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Looks like flutter_local_notifications is no longer a dependency, so this is no longer needed.