jpush / jpush/jpush-react-native

iOS无法收到通知,但是可以收到自定义消息

Open
#804 1 comment 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

你的运行环境

  • 插件版本: 2.7.5
  • react-native 版本:0.57.3

期望效果

ios真机能收到通知,addNotificationListener回调函数执行

实际效果

ios真机不能收到通知,addNotificationListener回调函数不执行,自定义消息可以收到,也没有收到任何错误日志

重现步骤

  1. 极光推送官网通过RegistrationID发送一个通知和自定义消息
  2. app端能收到自定义消息,但是收不到通知
  3. 极光推送历史APNs 目标:1,APNs 成功:1,APNs 送达:0

Debug logs

没有任何错误日志

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 checking common_problems.md and reproduce the issue with React Native 0.57.3 and plugin 2.7.5 on a physical iOS device. Inspect the addNotificationListener path and the APNs delivery status for a notification sent by RegistrationID. Done means the device receives the notification and the callback executes, while custom messages still arrive.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, 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.