jpush / jpush/jpush-react-native

新版本为什么去除addReceiveOpenNotificationListener方法

Open
#817 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.8.0",
    "jpush-react-native": "^2.8.1",
  • react-native 版本:
    0.63.2

期望效果

侦听通知点击

实际效果

没有老版本的addReceiveOpenNotificationListener方法了

重现步骤

  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 by comparing the public JPush React Native notification-listener API between jpush-react-native 2.8.1 and the older version that provided addReceiveOpenNotificationListener. Check the repository documentation and platform-specific implementation for the replacement entry point; done means the supported way to observe notification taps is identified and documented or the missing behavior is confirmed.

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.