Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20399] If you pass the device_token to users/logout, then the device is still subscribed for push notification

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2016-03-08T01:51:24.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsqe-5.2.0
ReporterWilson Luu
AssigneeChee Kiat Ng
Created2016-02-12T18:10:54.000+0000
Updated2016-03-08T01:51:24.000+0000

Description

*Details:* If you pass the device_token to users/logout, then the device is still subscribed for push notification. *Notes:* * This is *not a regression* since this occurs with current production dashboard. * CLOUDSRV tickets are not public, so this ticket will represent CLOUDSRV-4796. *Steps to reproduce:*

Run the attached shell script:

** The script is already configured with a *preprod* Titanium app that has push notification configured. ** The script will log in a user, subscribe a device token, and log out with the device_token parameter.

Check https://360-preprod.cloud.appctest.com/#/api/data/e45cf3b8-40cb-4799-acdd-c681cbeeaf0a/push/devices

*Actual:* The device is still subscribed for push notifications; see attachment. *Expected:* The device should be unsubscribed for push notifications if the device token was passed to the logout method.

Attachments

FileDateSize
Screen Shot 2016-02-10 at 3.01.54 PM.png2016-02-12T18:08:49.000+0000141224
test.sh2016-02-12T18:08:49.000+0000845

Comments

  1. Wilson Luu 2016-03-08

    Closing ticket as invalid as per comments in CLOUDSRV-4796.

JSON Source