Skip to content

Interval Alarm (iAlarm) - v1.0.1

Choose a tag to compare

@github-actions github-actions released this 30 Oct 21:07
· 14 commits to main since this release
c88f030

iAlarm 1.0.1 Release Notes

iAlarm 1.0.1 introduces bundled offline custom ringtones with synchronized haptic motor previews, an audio session ownership architecture to protect active alarms, precision alignment for the time picker, lock-screen activity single-top lifecycle handling, and automated branch-aware releases.


Overview of Changes

Version 1.0.1 enhances audio reliability and user experience across both the frontend interface and the Android hardware runtime. Bundled ringtones eliminate reliance on varied OEM system default sounds, while audio session safeguards ensure preview auditions never silence or interfere with active alarms.


What's New in 1.0.1

1. Bundled Custom Ringtones & Haptic Motor Previews

  • 12 Built-In Audio Tracks: Added high-fidelity, offline audio files packaged directly into native Android raw resources (res/raw/) and application assets:
    • Best Android (Default)
    • Dandadan
    • Detective Conan
    • Gintama
    • Jujutsu Kaisen
    • Mi Remix (MIUI 12)
    • Nokia Android
    • One Piece 1, 2, and 3
    • Oppo Calm
    • Samsung Galaxy S11
  • Synchronized Haptic Preview: Testing a ringtone now triggers synchronized vibration patterns through Android's vibrator hardware, automatically canceling upon audio completion or manual stop.
  • Hardware-Level Fallback: If WebView audio playback is blocked by platform autoplay policies, playback automatically falls back to native MediaPlayer execution.
  • Clean Selection Grouping: Ringtone dropdown menus in CreateAlarmModal and SettingsView are now structured into dedicated Custom Ringtones and Ambient Presets groups.

2. Audio Ownership & Session Safety

  • Session Token Tracking: Introduced unique session IDs (currentPreviewId and isAudioOwner) to govern the audio preview lifecycle across the application.
  • Active Alarm Protection: Audition timeouts (3.5 seconds) and modal unmount handlers in CreateAlarmModal and SettingsView verify ownership before dispatching stop commands. An audition timer or closing a modal can no longer silence a ringing alarm.
  • Android Legacy Preset Routing: Ambient presets (Aura Dawn, Zen Bell, Celestial Chime, Digital Pulse, Horizon Flare) now route cleanly to the Web Audio synthesizer on Android instead of triggering an invalid native resource fallback to system defaults.

3. Precision Time Picker Alignment

  • Digital Clock Readout: Eliminated irregular digit spacing (such as 6 : 00) in CreateAlarmModal. Hours are right-aligned and minutes are left-aligned against an optically centered colon separator (:).
  • Zero-Padding & Stepper Normalization: Suppressed native browser spin-buttons and hidden paddings ([appearance:textfield]) and ensured consistent zero-padded formatting across 12-hour and 24-hour modes.
  • Accessibility: Added explicit aria-label tags for hour and minute inputs.

4. Android Native & Lock-Screen Reliability

  • Single-Top Activity Handling: Added onNewIntent handling to AlarmRingingActivity (Intent.FLAG_ACTIVITY_SINGLE_TOP). Successive interval occurrences update the current lock-screen interface smoothly without activity stack corruption or duplicate intent overhead.
  • Deterministic Default Sound: Replaced legacy and OEM-dependent fallbacks with Best Android (best_android_rington) as the unified default across Rust domain models, native Android storage, and frontend presets.

5. Toolchain & CI/CD Enhancements

  • Tauri Toolchain: Upgraded @tauri-apps/api and @tauri-apps/cli to version 2.12.4.
  • Branch-Aware Release Automation: Configured GitHub Actions release workflows with environment-variable isolation (REF_NAME), dynamic pre-release tagging, and automated artifact naming.
  • Documentation & License: Updated project documentation with interface showcase captures and added the standard MIT License.

Technical Specifications

Component Detail
Release Version 1.0.1
Previous Version 1.0.0
Full Changelog v1.0.0...v1.0.1
Tauri Core & CLI 2.12.4
Target Platforms Android 11+ (API 30+)
Default Audio Preset best_android_rington (Best Android)
Audio Storage src-tauri/gen/android/app/src/main/res/raw/ (.ogg) & src/assets/ringtones/
License MIT License

Assets & Installation

  • Universal Debug / Release APK: Available under the v1.0.1 release assets.
  • Source Code: Available via the v1.0.1 Git tag.