jpush / jpush/jpush-react-native

目前最新的版本支持android自定义声音吗?

Open
#764 0 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

你的运行环境

  • 插件版本:
    jcore-react-native": "1.2.11"
    jpush-react-native": "2.2.13"
  • react-native 版本:
    react-native": "0.57.8"

期望效果

实现android自定义声音,目前已知ios可以

实际效果

收到推送,没有播放自定义声音

重现步骤

  1. 调用api发送推送,同时传递sound字段。
  2. 将声音文件放置 项目/res/raw/task.caf
  3. app收到消息,播放是默认铃声

Debug logs

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 common_problems.md and the Android implementation of jpush-react-native, focusing on how the API's sound field and res/raw/task.caf are handled. Reproduce the issue using the listed versions and steps, then verify that a received push plays the requested custom sound rather than the default.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.