Pushbase SDK provides a function to determine if the device is already subscribed or not. This is helpful to decide if your app can request to subscribe or not.
// Import function
import { isSubscribedToNotifications } from "@pushbase/sdk";

// Later in your code
const isSubscribed = await isSubscribedToNotifications();
Having trouble setting up or configuring the SDK? Our support team is here to help — feel free to reach out