flutter_alarmkit 0.3.0
flutter_alarmkit: ^0.3.0 copied to clipboard
Flutter plugin for Apple AlarmKit (iOS 26+). Schedule one-shot, countdown, and recurring alarms as Lock Screen and Dynamic Island Live Activities.
0.3.0 #
- Breaking:
getAlarms()→Future<List<Alarm>>andalarmUpdates()→Stream<AlarmUpdateEvent>, reporting full state (scheduled/countdown/paused/alerting). - Custom alarm metadata (
AlarmMetadata: SF Symbol icon + subtitle) — rendered in the Live Activity and returned bygetAlarms(). - One-time and daily relative alarms (empty weekdays /
Weekday.everyday);cancelAll(). - Breaking:
getAuthorizationState()→AlarmAuthorizationState(wasint). - Fix Live Activity action buttons clipping their labels (e.g. "Stop" → "St…") — buttons now size to fit their text instead of a fixed width.
- Fix unreadable default button text colors — pause/resume defaulted to green (invisible on the green resume tint) and are now white.
0.2.0 #
- Add Swift Package Manager support alongside CocoaPods.
- The Live Activity Widget Extension no longer requires CocoaPods — it is a standalone WidgetKit target with no plugin dependency.
0.1.0 #
- Add per-alarm Live Activity UI customization via
AlarmUIConfig/AlarmButtonConfig(button text, SF Symbol, colors, and countdown/paused titles). - Add a
dart run flutter_alarmkit:setupCLI (with a--doctorcheck) and aflutter-alarmkit-setupClaude Code skill to automate iOS setup; reworkedInstallationSteps.md. - Expose
countdownAlarm()to restart an existing countdown alarm. - Breaking:
alarmUpdates()is now an instance method (FlutterAlarmkit().alarmUpdates()). - Native & setup hardening: platform-thread replies, graceful iOS < 26 failure, value equality on config classes, and assorted CLI robustness fixes.
0.0.10 #
- Add
getAuthorizationStatemethod.
0.0.9 #
- Add support for custom alarm sound with
soundPathparameter.
0.0.8 #
- Add
alarmUpdatesmethod.
0.0.7 #
- Add
getAlarmsmethod. - Add
countdownAlarmmethod. - Add
pauseAlarmmethod. - Add
resumeAlarmmethod.
0.0.6 #
- Add Live Activity support.
- Add installation guide.
0.0.5 #
- Add
scheduleRecurrentAlarmmethod. - Add
cancelAlarmmethod.
0.0.4 #
- Update README.md.
0.0.3 #
- Add
scheduleCountdownAlarmmethod. - Add
stopAlarmmethod. - Improve example app.
0.0.2 #
- Fix
requestAuthorizationmethod return value.
0.0.1 #
- Add
requestAuthorizationmethod. - Add
scheduleOneShotAlarmmethod.