Braze React Native SDK - v21.0.0
    Preparing search index...

    Function setPushNotificationSubscriptionType

    • Sets whether the user should be sent push campaigns.

      Parameters

      • notificationSubscriptionType: "optedin" | "subscribed" | "unsubscribed"

        Notification setting (explicitly opted-in, subscribed, or unsubscribed).

      • Optionalcallback: Callback<boolean>

        A callback that receives the export function call result.

      Returns void