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

Issue - New ring sound feature only plays when Mattermost app is active #857

Open
ageekhere opened this issue Aug 27, 2024 · 5 comments
Open
Labels
enhancement New feature or request

Comments

@ageekhere
Copy link

App version 2.19.0
Mattermost Version: 9.10.1
Android
IOS

The new ring sound feature for mobile only plays when the Mattermost app is running and opened on the phone, it does not play when the phone's screen is off or if the Mattermost app is running in the background.

What should happen,
If the option is selected the ring sound should play under all conditions when the Mattermost app is running in the background (phone screen is locked, using another app, watching a video etc ) .

Please confirm if you are able to recreate this issue.

@amyblais
Copy link
Member

@streamer45
Copy link
Collaborator

@ageekhere This is by design. We can't ring while the app is not active. To get it ringing like a phone call we'd need to integrate much deeper into the system (i.e., using CallKit).

We have a couple of improvements we are tracking (e.g., https://mattermost.atlassian.net/browse/MM-59470 and https://mattermost.atlassian.net/browse/MM-54765) but nothing in the roadmap right now.

/cc @cpoile @matthewbirtch

@ageekhere
Copy link
Author

@streamer45 For android could ConnectionService be used? https://developer.android.com/reference/android/telecom/ConnectionService

@streamer45
Copy link
Collaborator

Indeed, we'd need to use something like that for the Android side.

@ageekhere
Copy link
Author

I did a bit of research and chatgpt, here is the basic code of how to add ringing when the phone is locked. Maybe it could be used as a base for this feature or at least give some ideas to developers who know what they are doing.

ConnectionService
ConnectionService.txt

Callkit
CallKit.txt

@amyblais amyblais transferred this issue from mattermost/mattermost-mobile Sep 9, 2024
@ageekhere ageekhere changed the title Issue - New ring sound feature only pays when Mattermost app is active Issue - New ring sound feature only plays when Mattermost app is active Sep 9, 2024
@streamer45 streamer45 added the enhancement New feature or request label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants