For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

Unsubscribing platform notifications

  • Answer ID 1763
  • Published 02/07/2018 01:02 AM
  • Updated 02/07/2018 01:02 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=1763

I am a developer and some of my users are no longer using my app. They were subscribed to platform notifications and the notifications are still being sent to my app. How do I unsubscribe to these ? Will the notifications be sent even if the token has expired?


If the token has expired, the notifications are automatically disabled and the developer doesn't have to do anything. 

In case the tokens are still active, you can unsubscribe to Platform Notifications by setting the ApplicationEnable to Disable in SetNotificationPreferences call.

Here's a sample request to disable notifications for a User Token:

<?xml version="1.0" encoding="utf-8"?>
<SetNotificationPreferencesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>ABC...123</eBayAuthToken>
</RequesterCredentials>
<Version>697</Version>
     <ApplicationDeliveryPreferences>
          <ApplicationEnable>Disable</ApplicationEnable>
          <DeviceType>Platform</DeviceType>
     </ApplicationDeliveryPreferences>
</SetNotificationPreferencesRequest>

This will disable all notifications to the application. But the user preferences are preserved.


 REF: How to subscribe to Platform Notifications

 

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter