Notifications Permission
CommitT requires Notification access to deliver real-time feedback, scheduling alerts, and critical check-in warnings. In a high-stakes accountability system, missing a check-in lead to immediate penalties; clear, high-priority notifications prevent accidental failures.Why it is Required
Notifications are critical for three primary enforcement loops:- Random Check-in Alerts: In Stay Throughout verification mode, random alarms are sent to the user. The user has a strict 5-minute grace window to tap the notification and complete verification. Without notifications, the user would miss the prompt and fail.
- Lock-in Warnings: Alerts inform the user when a restricted slot is about to start, allowing them to close tabs or wrap up work.
- Active Lock Status: A persistent notification is displayed while a lock-in block is active to prevent the OS from killing the background service.
Native Implementation
The native module queries theNotificationManager system service to audit permissions on modern API levels: