Alarms & Reminders
CommitT requires the Schedule Exact Alarms permission (Manifest.permission.SCHEDULE_EXACT_ALARM) to guarantee that wake-up commitments and randomized verification checks are triggered at precise millisecond bounds.
Why it is Required
Android implements battery-saving optimizations that delay or group background alarms (known as Alarm Batching).- The Problem: Standard alarms can drift or be delayed by up to 15-30 minutes if the device is in a deep sleep state (Doze Mode). In a wake-up commitment where the user has promised to verify at exactly 6:00 AM, a 15-minute delay would fail the task.
- The Solution: The exact alarm API allows CommitT to bypass OS sleep states and force-wake the device to ring the alarm immediately at the exact second configured.
Native Implementation
The native module audits exact alarm capabilities on Android 12 (API 31) and above usingAlarmManager: