jpush / jpush/jpush-react-native

无法获取registerID

Open
#781 8 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
android

  • 插件版本:
    "jcore-react-native": "^1.8.0",
    "jpush-react-native": "^2.8.0",

  • react-native 版本:
    "react": "16.11.0",
    "react-native": "0.62.2"

期望效果

获取 registerID 值

实际效果

按照文档配置后 registerID 一直为空
跑通example工程,但是 example工程中 registerID 的获取也为空

重现步骤

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 with the example project and the documented configuration for jcore-react-native 1.8.0 and jpush-react-native 2.8.0 on Android. Compare the registerID retrieval flow with the Android debug logs, which are not included here; done means the example and the reporter's app obtain a non-empty registerID.

Written by the indexing model from the issue text.

Assessment

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