- π Fix
areActivitiesEnabled()
on unsupported devices.
- π± Convert images to webp.
- β¬οΈ Upgrade dependencies.
- π Force returning false for
areActivitiesEnabled()
when no iOS devices.
- β¨ Simplified fetching of ActivityState of all created live activities (thanks to @Clon1998 π).
- π Fixes background thread invocation of event streams (thanks to @ggirotto π).
- π Replaced getImageProperties with dart buffer and descriptor (thanks to @anumb π).
- π Fix tests.
- β¬οΈ Upgrade dependencies.
- β¨ 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.
- β¨ 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 ingetActivityState()
.
- β¨ Add url scheme optional argument.
- β¨ Add sinks unregister on engine end (thanks @ggirotto π).
- π Fix example images size.
- β¬οΈ Upgrade dependencies.
- π¨ Lint some code.
- π Fix deprecated tests.
- β¬οΈ Upgrade dependencies.
- π Method
areActivitiesEnabled()
are now callable on iOS < 16.1 - β¨ Creating an activity can now use stale-date (thanks @arnar-steinthors π).
- β¨ ActivityUpdate subclasses are now public along with a new MapOrNull method (thanks @arnar-steinthors π).
- β¨ Add missing "stale" activity status.
- π When value set to null in map, value is removed from live activity.
- π Fix missing
activityUpdateStream
implementation channel on native part.
- β¨π Change method
getPushToken()
to be synchronous. - β¬οΈ Upgrade dependencies.
- β¨ Add a way to track push token and the activity status (thanks @arnar-steinthors π).
- β»οΈ Format code.
- β¨ Add method to get push token (thanks to @jolamar π).
- β»οΈ Rework Swift code.
- π Add screenshots in pubspec.yaml
- β¨ End live activity when the app is terminated (thanks to @JulianBissekkou π).
- π Fix a bug where init never completes (thanks to @JulianBissekkou π).
- β¨ Can now pass assets between Flutter & Native.
- π Update README.md.
- π Update README.md.
- β¨ Now using App Groups to pass typed data across Flutter & Native !
- ποΈ Remove unused code in example.
- π Improve README.md.
- β¨ Add method to get the activity state (active, ended or dismissed).
- β¨ Add stream to handle url scheme from live activities &/or dynamic island.
- π Improve README.md
- β»οΈ Rework example
- β¨ 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.
- π Initial release.