The setPushNotificationEnabled method allows you to easily opt in or opt out an user from Pulsate Push Notifications. This effects only pushes that Pulsate sends.
By default all users are Opt In.
PULPulsateManager* manager = [PULPulsateFactory getDefaultInstance];
[manager setPushNotificationEnabled:YES]; // Opt In
[manager setPushNotificationEnabled:NO]; // Opt Out
To check if the current user is opt in or opt out of Push Notifications you can use the isPushNotificationEnabled method.
When the push notification opt out is turned on, users who have opted out of push notifications will not receive any push notifications from Pulsate. This includes both Campaigns and Converse Messages. Users that have opted out of push notifications will still be able to receive In App Notifications and they will also receive campaign cards in the Pulsate feed, including any cards that are sent in push notification campaigns.
If you wish to retrieve a list of users that have opted out of push notifications, you can use the Push Opt Outs: Get All API endpoint.