Difference between revisions of "NotificationManager:unregisterForPushNotifications"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Unregister device from receiving push notifications. Basically this method invalidates the deviceToken...") |
|||
Line 4: | Line 4: | ||
Unregister device from receiving push notifications. Basically this method invalidates the deviceToken. You still need to remove the token from your server by yourself, or else using invalidated tokens may lead to errors in some push notification services. | Unregister device from receiving push notifications. Basically this method invalidates the deviceToken. You still need to remove the token from your server by yourself, or else using invalidated tokens may lead to errors in some push notification services. | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | NotificationManager:unregisterForPushNotifications() | |
</source> | </source> |
Revision as of 10:16, 23 August 2018
Available since: Gideros 2011.6
Description
Unregister device from receiving push notifications. Basically this method invalidates the deviceToken. You still need to remove the token from your server by yourself, or else using invalidated tokens may lead to errors in some push notification services.
NotificationManager:unregisterForPushNotifications()