jpush / jpush/jpush-react-native

react-native 0.64.2集成极光推送 getRegistrationID一直为空。

Open
#850 3 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
    "jcore-react-native": "^1.9.4",
    "jpush-react-native": "^2.8.7",

期望效果

获取getRegistrationID、使用推送

实际效果

registerID:{"registerID":""}
image

重现步骤

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

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 reproducing the empty getRegistrationID result with react-native 0.64.2, jcore-react-native ^1.9.4, and jpush-react-native ^2.8.7. Check the Android or iOS debug logs and the linked reproduction steps to determine whether the registration ID is unavailable on one platform or both. Done means getRegistrationID returns a non-empty ID and push notifications work.

Written by the indexing model from the issue text.

Assessment

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