jpush / jpush/jpush-react-native

安卓如何自定义推送铃声

Open
#707 1 comment 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

你的运行环境

  • 插件版本:
  • 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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.