Meteor-Community-Packages / Meteor-Community-Packages/raix-push
Question: how to deal with abandoned token?
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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