forked from Blendman974/faceclaw
Notification listener rebinding
This commit is contained in:
1 parent
75e0b15d62
commit
bf2addd287
6 files changed
+296
-68
No files matched your search
@@ -2,3 +2,6 @@ import { iosNotificationState, iosNotificationMessage } from './notification-ico
|
||||
export function isNotificationListenerEnabled(): boolean { return iosNotificationState() === 'ready' }
|
||||
export function requestNotificationListenerAccess(): void { /* iOS exposes no deep link to this Bluetooth setting. */ }
|
||||
export function notificationEmptyMessage(): string { return iosNotificationMessage() }
|
||||
export type NotificationListenerState = "connected" | "no-access" | "connecting" | "stuck"
|
||||
export function notificationListenerState(): NotificationListenerState { return isNotificationListenerEnabled() ? "connected" : "no-access" }
|
||||
export function watchNotificationListenerBinding(): void { /* ANCS has no listener binding to watch. */ }
|
||||
Reference in new issue
Block a user