jpush / jpush/jpush-react-native

Failed to post notification on channel “null”

Open
#619 0 comments 1 reaction 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.59.8,集成该插件后会报错“Failed to post notification on channel “null”";在MainActivity下使用JPushInterface.init(getApplicationContext());进行初始化就会报这个错误

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

Reproduce the failure with react-native 0.59.8 and JPushInterface.init(getApplicationContext()) in MainActivity, then trace the Android notification-channel path. Done means initialization no longer leads to a notification being posted on a “null” channel.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.