Skip to content

Latest commit

Β 

History

History
125 lines (82 loc) Β· 3.34 KB

CHANGELOG.md

File metadata and controls

125 lines (82 loc) Β· 3.34 KB

1.9.1

  • ✨ Add update with alert config (thanks @charlesRmajor πŸ‘).
  • ✨ Add an option to use preloaded images (thanks @Niklas-Sommer πŸ‘).
  • ✨ Add Android support - currently only used to check if live activities is supported (thanks @ggirotto πŸ‘).
  • ✨ Example app support Material 3.
  • πŸ› Fix tests.
  • πŸ“ Update README.md.
  • ⬆️ Upgrade dependencies.

1.9.0

  • ✨ BREAKING CHANGE: Add the ability to handle multiple live notification (thanks @Clon1998 πŸ‘).

Please follow this tutorial to add implement it:

  • Add the following Swift extension at the end of your extension code:
extension LiveActivitiesAppAttributes {
  func prefixedKey(_ key: String) -> String {
    return "\(id)_\(key)"
  }
}
  • For each keys on your native Swift code, please changes the following lines:
let myVariableFromFlutter = sharedDefault.string(forKey: "myVariableFromFlutter") // repleace this by ...
let myVariableFromFlutter = sharedDefault.string(forKey: context.attributes.prefixedKey("myVariableFromFlutter")) // <-- this
  • πŸ› Fix stall state for unknown activityId (thanks @Clon1998 πŸ‘).
  • πŸ› Now return null value when activity is not found in getActivityState().

1.8.0

  • ✨ Add url scheme optional argument.
  • ✨ Add sinks unregister on engine end (thanks @ggirotto πŸ‘).
  • πŸ› Fix example images size.
  • ⬆️ Upgrade dependencies.

1.7.5

  • 🚨 Lint some code.
  • πŸ› Fix deprecated tests.
  • ⬆️ Upgrade dependencies.

1.7.4

  • πŸ› Method areActivitiesEnabled() are now callable on iOS < 16.1
  • ✨ Creating an activity can now use stale-date (thanks @arnar-steinthors πŸ‘).

1.7.3

  • ✨ ActivityUpdate subclasses are now public along with a new MapOrNull method (thanks @arnar-steinthors πŸ‘).

1.7.2

  • ✨ Add missing "stale" activity status.
  • πŸ› When value set to null in map, value is removed from live activity.

1.7.1

  • πŸ› Fix missing activityUpdateStream implementation channel on native part.

1.7.0

  • βœ¨πŸ› Change method getPushToken() to be synchronous.
  • ⬆️ Upgrade dependencies.

1.6.0

  • ✨ Add a way to track push token and the activity status (thanks @arnar-steinthors πŸ‘).
  • ♻️ Format code.

1.5.0

  • ✨ Add method to get push token (thanks to @jolamar πŸ‘).
  • ♻️ Rework Swift code.

1.4.2+1

  • πŸ“ Add screenshots in pubspec.yaml

1.4.2

  • ✨ End live activity when the app is terminated (thanks to @JulianBissekkou πŸ‘).

1.4.1

  • πŸ› Fix a bug where init never completes (thanks to @JulianBissekkou πŸ‘).

1.4.0

  • ✨ Can now pass assets between Flutter & Native.
  • πŸ“ Update README.md.

1.3.0+1

  • πŸ“ Update README.md.

1.3.0

  • ✨ Now using App Groups to pass typed data across Flutter & Native !
  • πŸ—‘οΈ Remove unused code in example.
  • πŸ“ Improve README.md.

1.2.1

  • ✨ Add method to get the activity state (active, ended or dismissed).

1.2.0

  • ✨ Add stream to handle url scheme from live activities &/or dynamic island.
  • πŸ“ Improve README.md
  • ♻️ Rework example

1.1.0

  • ✨ Add method to check if live activities are enabled.
  • ✨ Add method to get all activities ids created.
  • ✨ Add method to cancel all activities.
  • πŸ› Fix add result to all methods.

1.0.0

  • πŸŽ‰ Initial release.