jpush / jpush/jpush-react-native
iOS badge 到底怎么用?
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 348
- PR merge metrics
- No merged PRs in 30d
Description
你的运行环境
- 插件版本:
- react-native 版本:react-native: 0.59.8
期望效果
1,Jpush.setBadge(0) 能清除角标的数字
2,用 Push API 给用户发送一条 badge = 0 的推送,
应用在前台 和后台 都 能清除角标
实际效果
1,Jpush.setBadge(0) 不能清除角标的数字
2,用 Push API 给用户发送一条 badge = 0 的推送,
a,应用在前台的时候 不能清除角标
b, 应用关掉的时候 能清除角标
Contributor guide
No contributing guide indexed for this repository
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 reproducing the reported iOS behavior for Jpush.setBadge(0) and Push API notifications with badge=0 while the app is foregrounded, backgrounded, or closed. Check the repository's iOS badge-handling entry points and existing tests, if any; done means the badge clears consistently in the stated cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100