Files
Sable/src/types
Erwan Leboucher 753e87c96d fix(notifications): use native permission tri-state to sync background push toggle
The native plugin returns Option<bool> (true=granted, false=denied,
null=never-asked) but the JS bindings typed it as Promise<boolean>,
flattening the tri-state. Fix the types to Promise<boolean | null>,
add a non-prompting isUnifiedPushPermissionGranted, and pre-check
permission at startup: if denied, sync backgroundPushEnabled to false
and skip registration; if never-asked or granted, proceed (prompting
if needed). On registration failure, re-check and sync if now denied.
2026-07-20 14:36:24 +02:00
..
2026-07-08 14:29:34 -05:00