Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App is not deregistering push notifications upon logout #1347

Closed
bengtan opened this issue Oct 4, 2017 · 11 comments
Closed

App is not deregistering push notifications upon logout #1347

bengtan opened this issue Oct 4, 2017 · 11 comments
Assignees
Labels
Blocked: Server Side BUG Code/Feature contains a known/confirmed bug HIGH PRIORITY

Comments

@bengtan
Copy link
Contributor

bengtan commented Oct 4, 2017

From poking around in the database (hippware/wocky#1010 (comment)), we can see evidence that the app is not deregistering push notifications upon logout.

This was supposedly fixed in #860 but it appears to still be happening.

@zavreb
Copy link

zavreb commented Oct 11, 2017

Moving this to S19.

@zavreb
Copy link

zavreb commented Oct 24, 2017

low priority, being pushed into S19 nonetheless.

@mstidham
Copy link

mstidham commented Nov 9, 2017

@bengtan to verify (cc: @rz, @scurry)

@zavreb
Copy link

zavreb commented Nov 10, 2017

Not sure how to check this in le db but would appreciate the info :)

@southerneer, @bengtan

@southerneer
Copy link
Contributor

SELECT u.handle, d.resource, d.token, d.updated_at, d.invalid, d.feedback
FROM users u, devices d
WHERE d.user_id = u.id AND handle='kirkham'

If I run that query before I logout with kirkham I should see x entries and after I logout I should see x-1 entries.

@bengtan
Copy link
Contributor Author

bengtan commented Nov 10, 2017

I'll verify it next week.

@bengtan bengtan self-assigned this Nov 10, 2017
@zavreb
Copy link

zavreb commented Nov 14, 2017

@bengtan update?

@bengtan
Copy link
Contributor Author

bengtan commented Nov 15, 2017

Haven't got around to it yet, sorry. Been working on other stuff.

I'll try to get to it tomorrow.

OTOH, if having this stuck on 'Verify on Prod' is disrupting your workflow, just go ahead and close. I will revisit anyway, and if necessary, I can re-open then.

@bengtan
Copy link
Contributor Author

bengtan commented Nov 15, 2017

Tested but got inconclusive results. Need to do further testing.

@zavreb
Copy link

zavreb commented Nov 15, 2017

Will keep opened in the interim. Does not interrupt workflow.

@bengtan
Copy link
Contributor Author

bengtan commented Nov 16, 2017

Strange. I tested again on Staging and it's working fine now (across 10-20 test runs of various combinations). I didn't test on Prod but it's good enough for me.

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked: Server Side BUG Code/Feature contains a known/confirmed bug HIGH PRIORITY
Projects
None yet
Development

No branches or pull requests

4 participants