live_activities
2.6.0, released 2 months ago by dimitridessus.fr
Support iOS Live Activities, Android RemoteViews and Dynamic Island.
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.
- flutter_alarmkit
Flutter plugin for scheduling Apple AlarmKit alarms on iOS 26+
72Compare - flutter_live_activities
Flutter plugin to create, update, and handle actions for iOS Live Activities and Dynamic Island.
41Compare
Works with
Packages commonly used together with live_activities: ones it builds on, ones built on it, and its own family.
- plugin_platform_interfacelive_activities depends on itReusable base class for platform interfaces of Flutter federated plugins.
- path_providerlive_activities depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- imagelive_activities depends on itPure Dart library to load, manipulate, encode, and decode various image formats.
- permission_handlerlive_activities depends on itCross-platform API to check and request permissions on iOS, Android, Web, and Windows.
- flutter_app_group_directorylive_activities depends on itAccess shared app group container on iOS & macOS