jpush / jpush/jpush-react-native
安卓如何自定义推送铃声
Open
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.61.2
期望效果
安卓端收到推送通知后,将默认的铃声更换为自定义的铃声。
实际效果
使用自定义的铃声作为接收到推送通知的铃声。
重现步骤
1、根据搜索出来的方法都是在自定义消息里面添加修改方法。
2、按 https://www.jianshu.com/p/1a8edb7e54c4 这里的方法,找不到JPushReceiver 方法。
Debug logs
包括 Android 或 iOS 的日志:
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
Read example/documents/common_problems.md and the linked Jianshu guide first, then trace the Android notification integration to determine why JPushReceiver cannot be found. Done means documenting or enabling a verified way to use a custom notification ringtone for the stated React Native environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100