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

Support matrix configured custom sounds #169

Closed
Half-Shot opened this issue Jun 7, 2019 · 1 comment
Closed

Support matrix configured custom sounds #169

Half-Shot opened this issue Jun 7, 2019 · 1 comment

Comments

@Half-Shot
Copy link
Member

The feature landed in riot-web element-hq/element-web#2105, and would be cool to see it also work in riotX.

@BillCarsonFr
Copy link
Member

Short answer, user can do it in the phone settings (notification channel setting)

More details:
Starting android N, notifications behavior (vibration, sound, light, etc...) is defined directly in the phone settings via a 'notification channel'.

The app does not directly set the behavior per notification, but directly post the notification in a given channel. If you try to change the sound in app, it will not have any effect, the user defined channel settings are used (if channel is muted, you cannot play a sound)
The channel is defined the first time the app is launched, and in the app stand point it is immutable (only the user can configure it in the phone settings).

It could be possible to set it in app by deleting the channel and recreate a new one (a bit hacky), if we want for example to have common sound settings in web and mobile.

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

3 participants