Difference between revisions of "NotificationManager:unregisterForPushNotifications"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <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>
 
<source lang="lua">
 
<source lang="lua">
 
  NotificationManager:unregisterForPushNotifications()
 
  NotificationManager:unregisterForPushNotifications()
 
</source>
 
</source>

Revision as of 07:27, 24 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()