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

Clearing Badge Icons from Client

Open
#268 6 comments 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

Is there a way to clear badge icons from the client?

For example: If someone has the app open while a notification comes in, it doesn't make a sound or show the notification, but it still adds the badge icon to app's icon. Is there a way to clear this from the client without forcing the user to exit the app and reopen it to clear it?

The only way I can see to clear the badge icon without the user's action is to send a new notification with a blank payload and a badge of 0.

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

No files, tests, or entry points are named. Start by locating the client-side push-notification and badge handling, then compare its behavior with the iOS notification lifecycle described here; done should include a documented, tested way to clear the badge while the app remains open.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.