@klyftig/android-perms
v0.1.0
Published
Android alarm-permission status + settings deep links notifee doesn't cover (full-screen intent, DND access, overlay, manufacturer)
Maintainers
Readme
@klyftig/android-perms
Expo native module (Android only): the alarm-permission probes and settings
deep links that notifee does not expose. Extracted from Sleepwise's
modules/sleepwise-android-perms (2026-09-15); the Kotlin identifier is still
SleepwiseAndroidPerms.
import {
canUseFullScreenIntent, // Android 14+: revocable for non-alarm-category apps
isNotificationPolicyAccessGranted, // DND bypass
canDrawOverlays, // SYSTEM_ALERT_WINDOW
getManufacturer, // for OEM battery-killer guidance
openAndroidSettings, // deep link to the matching system screen
} from '@klyftig/android-perms';@klyftig/alarm-core's getAlarmPermissionStatus() / openPermissionScreen
compose these with notifee's own probes into one status object for onboarding
and the Settings "alarm health" rows.
Off-device (iOS / web / jest) every probe returns a safe default. Autolinks
from node_modules; needs a dev client.
