Skip to content

aka Alarm 1.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Oct 18:38
· 1 commit to main since this release

Android alarms now ring on time after a snooze — the "sounds 2 hours
later when snoozed" report on
issue #2.

  • Every timed transition (mic activation, window start, window end, and
    snooze end) is now armed as an exact RTC_WAKEUP alarm, not only the mic
    activation that 1.2.0 introduced. The old in-process timers ran on the
    uptime clock, which stops when the CPU deep-sleeps, and during a snooze
    nothing keeps the CPU awake — so a 1–15 minute snooze could ring whenever
    the phone next happened to wake up. The timers remain as a fallback for a
    dropped or denied alarm, and the foreground catch-up now chains through
    every skipped transition.

Custom alarm sound, and a fade-in you can actually hear (iOS + Android)
— also from issue #2.

  • New "Alarm sound" section in settings. Android: pick one of the phone's
    own alarm tones through the system picker, or any audio file. iOS: pick any
    audio file from the Files app (iOS has no picker for its system tones).
    Either way the pick is copied into the app's storage and test-decoded
    before it is accepted, so the alarm never depends on a permission grant or
    a file that has since moved; if the copy ever fails to open, the built-in
    tone plays. The current choice shows as a chip; its × returns to the
    built-in tone.
  • New built-in tone, "Cozy Morning Wake": a gentle one-minute piece, bundled
    lossless and played uncut on repeat, replaces the synthesized beep on both
    platforms. The beep stays only as a last-resort fallback if the bundled
    file ever fails to decode.
  • The one-minute fade-in now rises in equal dB steps instead of equal gain
    steps, on both platforms. Same endpoints (1 % → 100 %), but the first
    half-minute is genuinely quiet; the old curve was at half loudness within
    ten seconds.
  • The settings sheet opens at full height and scrolls (Android) / grows to
    fit and scrolls (iOS).

iPhone Duo (iOS) — groundwork for Apple's foldable, built against the
iOS 27.1 SDK; nothing changes on other iPhones.

  • The set-alarm screen is laid out by canvas size: side by side when wider
    than tall, three-row wheels when height is tight, and the stacked column
    is capped so the pills don't stretch across the inner display. The
    settings sheet opens at three quarters of the screen instead of a fixed
    height that the outer display can't fit.
  • On the outer display (and the inner one in landscape) the system draws a
    vertical bar along one edge; the settings gear and the Start button move
    into it, leaving the canvas to the time picker, with the title level with
    the camera cut-out and the window value level with Start.
  • The settings gear is now a glass circle on every iPhone, not just in the
    Duo's bar.
  • When the device is partially open, the monitoring and alarm screens keep
    the clock on the far side of the fold and the controls on the near side,
    so the phone works as a nightstand clock in the tent pose.

Set-alarm screen in landscape and on short screens (Android) — fixes
issue #4, reported by
@Biondi-Tommaso, building on their
PR #5.

  • The number wheels derive their content padding from their actual height
    instead of assuming five visible rows. In landscape (or split screen) the
    wheel is shorter than that, which left the selected number half a row off
    the highlight pill after rotating — and the nearest-to-centre logic could
    then silently shift the chosen hour or minute by one step. With the padding
    tied to the real height, initial positions, snap points and the pill agree
    in any geometry, so no rotation-specific re-centring is needed. The wheel's
    scroll position is also no longer saved and restored by Compose — it is
    rebuilt from the selected value, which the store already owns — because a
    restored position could only ever disagree with the selection (and did,
    once portrait and landscape used different layouts).
  • Landscape phones lay the screen out side by side (wheels left, window label
    and Start button right): stacked, the label and the Start button were
    pushed off the bottom of the screen. Short portrait screens (16:9 budget
    phones, split screen) fall back to three-row wheels.