jpush / jpush/jpush-react-native

ios获取不到RegistrationID,android退出后收不到通知

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

你的运行环境

"react-native": "0.70.8",

"jcore-react-native": "^2.1.1",
"jpush-react-native": "^2.9.8",

  • 插件版本:
  • react-native 版本:
    "react-native": "0.70.8",
    "react": "18.1.0",

期望效果

1.android退出应用后也能收到通知
2.ios获取RegistrationID

实际效果

1.android退出应用后不能接收推送,只能在角标那里显示有消息
2.android能正常获取RegistrationID但是ios获取的是空

重现步骤

根据官方文档集成我选择自动的方式
yarn 下载完包后 cd ios && pod install 使用这种方式自动集成
请问大佬们我哪个地方错了

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 with the official integration documentation and reproduce the reported setup using yarn, then run pod install in ios. Check the two reported behaviors on Android and iOS with the listed React Native and plugin versions, and capture the missing Android or iOS debug logs. Done means identifying the cause of the empty iOS RegistrationID and the missing Android notifications after exit, with both expected outcomes verified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.