Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When set to NotificationManager.IMPORTANCE_DEFAULT sound to loud #5

Open
hafiz013 opened this issue Aug 15, 2019 · 1 comment
Open

Comments

@hafiz013
Copy link

hi when i set to new NotificationChannel(CHANNEL_ID, name, NotificationManager.IMPORTANCE_DEFAULT); it will produce notification with sound which are interrupt user and so annoying. As result, i found another way which is change from NotificationManager.IMPORTANCE_DEFAULT to NotificationManager.IMPORTANCE_LOW the sound disappear. However, it may cause notification gone in foreground when android (honor 8 pro) detect power intensive. So what is good suggestion so that notification not force to close and sound notification is not appear. Thank

@hafiz013
Copy link
Author

@BlackBlind567 u can test .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant