jpush / jpush/jpush-react-native

emui和鸿蒙系统app角标无法清除

Open
#849 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.4k
Forks
348
PR merge metrics
No merged PRs in 30d

Description

你的运行环境

  • 插件版本:
    jcore-react-native:1.9.4
    jpush-react-native:2.8.7
  • react-native 版本:0.63.4

期望效果

emui和鸿蒙系统app角标可以清除

实际效果

emui和鸿蒙系统app角标无法清除,角标一直累加,miui12和ios14.5可以清除角标

重现步骤

服务端image

  1. 前端 进入首页调用JPush.setBadge({ badge: 0, appBadge: 0 });

Debug logs

包括 Android 或 iOS 的日志:

Contributor guide

No contributing guide indexed for this repository

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 from the React Native entry point JPush.setBadge({ badge: 0, appBadge: 0 }) and compare its behavior on EMUI and HarmonyOS with the reported working behavior on MIUI 12 and iOS 14.5. Reproduce the issue using jcore-react-native 1.9.4, jpush-react-native 2.8.7, and React Native 0.63.4; done means the app badge clears instead of accumulating.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.