Helper Functions

Helper functions give with additional control over PushPrime JavaScript SDK.

isSubscribed()

You can use isSubscribed to check the subscription status of the current user. This function will return true if the user is all set to receive push notifications and will return false otherwise.

pup.isSubscribed();

getSubscriptionId()

When called this function will return the subscription id assigned to current user by PushPrime. Use of this function is discouraged and you should use your own ID with the Custom Data feature to target individual users.

pup.getSubscriptionId();

results matching ""

    No results matching ""