Difference between revisions of "NotificationManager:unregisterForPushNotifications"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<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> | <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> | ||
− | < | + | <syntaxhighlight lang="lua"> |
NotificationManager:unregisterForPushNotifications() | NotificationManager:unregisterForPushNotifications() | ||
</source> | </source> |
Revision as of 14:30, 13 July 2023
Available since: Gideros 2011.6
Class: NotificationManager
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. <syntaxhighlight lang="lua">
NotificationManager:unregisterForPushNotifications()
</source>