Skip to content
pubscout

flutter_live_activities

0.0.5, released 4 years ago by an unverified publisher

Flutter plugin to create, update, and handle actions for iOS Live Activities and Dynamic Island.

$ flutter pub add flutter_live_activities
Source repository

What it does

Allows Flutter applications to manage iOS Live Activities and Dynamic Island widgets. It provides methods to create, update, end activities, listen to deep link URI streams, and share local images with the widget extension via App Groups.

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

Use it when

  • You need to display real-time updates on the iOS Lock Screen or Dynamic Island from a Flutter app.
  • You want to handle deep links and actions originating from Live Activities.

Skip it when

  • Your app does not target iOS.
  • You only need standard local or push notifications without Live Activities.

Strengths

  • Supports creating, updating, and ending Live Activities easily.
  • Includes support for URI deep linking and image sharing through App Groups.

Weaknesses

  • Requires manual setup of native Swift/SwiftUI widget extensions in Xcode.
  • Limited to iOS platforms supporting ActivityKit.

Setup

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

Requires adding a Widget Extension in Xcode, configuring Info.plist with NSSupportsLiveActivities, setting up URL schemes for deep linking, and optionally configuring App Groups for image sharing.

final FlutterLiveActivities _liveActivities = FlutterLiveActivities();
final String? activityId = await _liveActivities.createActivity(<String, String>{'text': 'Hello World'});

Alternatives

Packages that do the same job and could replace flutter_live_activities.

Works with

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