jpush / jpush/jpush-react-native

addNotificationListener 执行多次

Open
#843 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

你的运行环境

  • 插件版本:
  • react-native 版本:0.64.2

期望效果

收到推送消息,addNotificationListener对应的执行事件执行一次

实际效果

addNotificationListener的执行事件执行了很多次
image

重现步骤

  1. ...
  2. ...
  3. ...
  4. ...

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 at the addNotificationListener entry point in the React Native plugin and reproduce the report with React Native 0.64.2. The issue provides no plugin version, reproduction steps, or Android/iOS debug logs; done means identifying why the listener runs repeatedly and confirming it runs once per notification on the affected platform.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.