Skip to content
pubscout

live_activities

2.6.0, released 2 months ago by dimitridessus.fr

Support iOS Live Activities, Android RemoteViews and Dynamic Island.

$ flutter pub add live_activities
Source repository

What it does

Enables Flutter apps to display and update iOS Live Activities, the Dynamic Island, and Android RemoteViews. It bridges Dart data with native Swift (ActivityKit) and Kotlin UI implementations.

AI-written summary of version 2.6.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to show live status updates on the iOS lock screen or Dynamic Island.
  • You want to display ongoing persistent notifications on Android using RemoteViews.

Skip it when

  • You only need standard push or local notifications without live updating widgets.
  • You cannot write native Swift and Kotlin code for the UI extensions.

Strengths

  • Brings native iOS Live Activities and Android RemoteViews to Flutter.
  • Supports iPhone Dynamic Island features.
  • Allows custom activity tagging and state management.

Weaknesses

  • Requires significant native configuration and UI development in Swift and Kotlin.
  • Only works on iOS 16.1+ and Android API level 24+.

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
5

Requires creating a Widget Extension in Xcode, configuring App Groups and Push Notifications capabilities in iOS, and implementing custom Java/Kotlin classes and XML layouts for Android RemoteViews.

live_activities().createActivity(
  'activity_id',
  {
    'matchName': 'Match',
    'matchStartDate': DateTime.now().millisecondsSinceEpoch,
    'teamAName': 'Team A',
    'teamAScore': 0,
    'teamBName': 'Team B',
    'teamBScore': 0,
  },
);

Alternatives

Packages that do the same job and could replace live_activities.

Works with

Packages commonly used together with live_activities: ones it builds on, ones built on it, and its own family.