Difference between revisions of "NotificationManager:unregisterForPushNotifications"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === 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. | + | <translate>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.</translate> |
<source lang="lua"> | <source lang="lua"> | ||
NotificationManager:unregisterForPushNotifications() | NotificationManager:unregisterForPushNotifications() | ||
</source> | </source> |
Revision as of 13:32, 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()