Remove a device from the notification subscription list
Copy
/* Import device unsubscribe function */import { unsubscribeToNotifications } from "@pushbase/sdk";/* Later inside the app, unsubscribe device */unsubscribeToNotifications();
When a device is unsubscribed, it is removed from the subscription list and
excluded from the subscriber count for the next month’s billing cycle.