jpush / jpush/jpush-react-native
Android下获取不到registrationID
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.9.4",
"jpush-react-native": "^2.8.7",
"react-native": "0.64.4",
模拟设备
Android 8.0 , Android9.0 ,Android 10.0 都试过
代码
JPush.getRegistrationID(result => {
console.log('RegistrationID:', result);
});
//控制台打印
RegistrationID: {registerID: ''}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the JPush.getRegistrationID entry point and reproduce the empty registerID using the reported package versions and Android versions. The payload names no source file or test; completion would require identifying the cause and confirming that registrationID is returned correctly.
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