jpush / jpush/jpush-react-native
目前最新的版本支持android自定义声音吗?
Open
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可以
实际效果
收到推送,没有播放自定义声音
重现步骤
- 调用api发送推送,同时传递sound字段。
- 将声音文件放置 项目/res/raw/task.caf
- app收到消息,播放是默认铃声
Debug logs
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 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