mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 17:52:49 +00:00
* fix(notifications): stop pushes after host removal Push tokens were persisted indefinitely with no relationship to app pairing state. Give registrations a 48-hour renewable lease so offline unpairing converges, and revoke immediately when the host is reachable. * fix(notifications): make token revocation bounded and durable
10 lines
363 B
TypeScript
10 lines
363 B
TypeScript
import type { RevokePushNotificationsInput, StartPushNotificationsInput } from "./internal/types";
|
|
|
|
export function startPushNotifications(_input: StartPushNotificationsInput): () => void {
|
|
return () => undefined;
|
|
}
|
|
|
|
export async function revokePushNotifications(_input: RevokePushNotificationsInput): Promise<void> {
|
|
// Push notifications are native-only.
|
|
}
|