Skip to content

Upgrading flutter_local_notifications 16 to 17

Breaking16.3.3 → 17.2.4Platform2New4Changed2Fixed8Other7

BreakingUpgrade verdict

2 platform requirement changes.

  • Android builds now need to compile against Android SDK version 34.
  • A future release will require a newer Flutter SDK, so apps on older Flutter or OS versions may need their own fork.
2 items need code or config changes
Platform2
Bumps Android compileSdk to 34, which apps must meet.
compileSdk
Announces a future minimum Flutter SDK version bump, possibly requiring a fork.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • changed: ctor AndroidNotificationChannel( this.id, this.name, { this.description, this.groupId, this.importance = …, this.playSound = …, this.sound, this.enableVibration = …, this.vibrationPattern, this.showBadge = …, this.enableLights = …, this.ledColor, }) → ctor AndroidNotificationChannel( this.id, this.name, { this.description, this.groupId, this.importance = …, this.playSound = …, this.sound, this.enableVibration = …, this.vibrationPattern, this.showBadge = …, this.enableLights = …, this.ledColor, this.audioAttributesUsage = …, })
  • added: field AndroidNotificationChannel.audioAttributesUsage: final AudioAttributesUsage
  • added: method AndroidFlutterLocalNotificationsPlugin.periodicallyShowWithDuration( int id, String? title, String? body, Duration repeatDurationInterval, { AndroidNotificationDetails? notificationDetails, String? payload, AndroidScheduleMode scheduleMode = …, }): Future<void>
  • added: method AndroidFlutterLocalNotificationsPlugin.requestFullScreenIntentPermission(): Future<bool?>
  • added: method FlutterLocalNotificationsPlugin.periodicallyShowWithDuration( int id, String? title, String? body, Duration repeatDurationInterval, NotificationDetails notificationDetails, { AndroidScheduleMode androidScheduleMode = …, String? payload, }): Future<void>
  • added: method IOSFlutterLocalNotificationsPlugin.periodicallyShowWithDuration( int id, String? title, String? body, Duration repeatDurationInterval, { DarwinNotificationDetails? notificationDetails, String? payload, }): Future<void>
  • added: method MacOSFlutterLocalNotificationsPlugin.periodicallyShowWithDuration( int id, String? title, String? body, Duration repeatDurationInterval, { DarwinNotificationDetails? notificationDetails, String? payload, }): Future<void>