flutter_activity_kit 0.2.0 copy "flutter_activity_kit: ^0.2.0" to clipboard
flutter_activity_kit: ^0.2.0 copied to clipboard

Declarative iOS Live Activities (Dynamic Island & Lock Screen) and Android Ongoing Notifications with push token sync, rich state models, and preview widgets.

Changelog #

0.2.0 #

  • Interactive iOS 17+ AppIntents:
    • Direct background interactive button execution from Dynamic Island and Lock Screen via FlutterActivityActionIntent without opening the app.
    • Fixed platform channel threading to guarantee all action events dispatch on the platform main thread.
  • Android Runtime Permission (POST_NOTIFICATIONS):
    • Added native FlutterActivityKit.requestPermissions() with automated ActivityAware runtime permission handling on Android 13+ (API 33+).
  • iOS 16.1 & 16.2+ Compatibility:
    • Full compatibility branching between Activity.content (iOS 16.2+) and Activity.contentState (iOS 16.1).
    • Made IOSOptions.pushType optional/nullable for seamless local activities without requiring remote APNs certificates.
  • Swift Package Manager (SPM):
    • Added full Swift Package Manager compatibility for modern Flutter iOS builds.
  • Automatic Live Sports Match Simulation:
    • Added real-time auto-updating match simulation to the example application.

0.1.0 #

  • Initial release of flutter_activity_kit.
  • Unified Declarative API:
    • startActivity, updateActivity, endActivity, listActivities, getActivityState, areActivitiesEnabled.
  • iOS Live Activities & Dynamic Island Support:
    • Full Swift ActivityKit bridge for iOS 16.1+.
    • Support for Dynamic Island (Expanded, Compact, Minimal) and Lock Screen banners.
    • Push-to-update and push-to-start token management and streams.
    • Live activity state change streams.
    • Swift code generator CLI tool (dart run flutter_activity_kit:generate_swift).
  • Android Ongoing Notifications Support:
    • Ongoing, pinned notification channel management.
    • Progress bars, chronometer/countdown timers, badges, and custom action buttons.
    • Broadcast receiver bridging action clicks back to Dart event stream.
  • Flutter In-App Previews:
    • DynamicIslandPreview and OngoingNotificationPreview widgets to inspect and preview live activities inside any Flutter view.
  • Rich Models & Configuration:
    • ActivityAttributes, ActivityContentState, ActivityContent, ActivityAlert, ActivityAction, AndroidOptions, IOSOptions.
  • Comprehensive example application with delivery tracking, sports live score, and timer use cases.
1
likes
0
points
216
downloads

Publisher

verified publisherpinz.dev

Weekly Downloads

Declarative iOS Live Activities (Dynamic Island & Lock Screen) and Android Ongoing Notifications with push token sync, rich state models, and preview widgets.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_activity_kit

Packages that implement flutter_activity_kit