jpush / jpush/jpush-react-native

安卓能收到通知,但是没有提示音 悬浮通知 等

Open
#772 4 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

你的运行环境

mac os

  • 插件版本:
    "jcore-react-native": "^1.7.5",
    "jpush-react-native": "^2.7.5",

  • react-native 版本:
    "react-native": "0.61.5",

期望效果

安卓能正常提醒通知消息

实际效果

收到通知后只有震动,无悬浮通知,无声音

问题描述

按照流程设置完所有后,接收消息正常,但是只有震动,

查看手机通知权限,发现也只开了震动,(悬浮通知,锁屏通知,允许发声等 都是关闭的)

查看jpush-react-native,发现jpush-react-native/android/src/main/AndroidManifest.xml 是有配置其他权限的,但是没有生效???

望解答

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 linked common_problems.md, then inspect android/src/main/AndroidManifest.xml using the reported jcore-react-native 1.7.5, jpush-react-native 2.7.5, and React Native 0.61.5 versions. Reproduce the Android notification behavior and verify whether sound, floating notifications, and lock-screen notifications are enabled as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
mobile-dev
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.