Meteor-Community-Packages / Meteor-Community-Packages/raix-push

Question: how to deal with abandoned token?

Open
#298 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
505
Forks
191
PR merge metrics
No merged PRs in 30d

Description

I’ve noticed, that if I uninstall app (without logging out) and than install it again, I’ve got new token in the DB. And system doesn’t delete it even after a while. How to detect those tokens?

I see in code something to remove broken tokens, and actually some of my dev tokens were removed when I tried to send pushes with dev tokens from production servers. But those abandoned tokens stays for ages.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing code that removes broken tokens and the token persistence flow; the issue does not name a file or test. Determine how abandoned tokens can be detected after an uninstall, and define completion as preventing or removing those stale database records without breaking valid push tokens.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, mobile-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.