oncall icon indicating copy to clipboard operation
oncall copied to clipboard

In the mobile app, I am not getting any sounds for critical alerts

Open doanbutar opened this issue 1 year ago • 12 comments

What went wrong?

What happened: I tried configuring the grafana app, but I am failing to get one requirement working. I want the app to notify (with sound) for critical alerts. I do get the notifications, but I'm not getting any sound. Interestingly, a colleague of mine did manage to get this behavior correct.

Additional context: Good to emphasize that the android app notification is received by the android app. It's just that the app does not make any notification sound when the phone is set to silent (even though I've followed the configuration procedure for the app to make a sound even when the phone is set to silent). Also good to emphasize that exactly the same notification is received (with sound) on an (android) phone of a colleague.

What did you expect to happen: Getting a sound for the critical alert even though the phone is set to silent

How do we reproduce it?

  1. Send a push notification for important alerts.
  2. Add mobile app to notification policies
  3. Override do not disturb
  4. Override system volume

Grafana OnCall Version

Android app

Product Area

Mobile App

Grafana OnCall Platform?

I use Grafana Cloud

User's Browser?

No response

Anything else to add?

Attached screenshots Screenshot 2023-12-16 at 14 41 50 Screenshot 2023-12-16 at 14 41 56 Screenshot 2023-12-16 at 14 42 03

doanbutar avatar Dec 16 '23 06:12 doanbutar

I am getting more info about the app version and OS (plus version), from the user. I am opening this issue on behalf of the customer.

doanbutar avatar Dec 16 '23 06:12 doanbutar

Additional info for the user where things work well:

  • Fairphone (vanilla android) Screenshot_20231218-142220 Screenshot_20231218-142313

Additional info for the user without sound notification:

  • OnePlus 9 PRO
  • OxygenOS 13.1

Screenshot_2023-12-18-14-29-35-46_fc704e6b13c4fb26bf5e411f75da84f2 Screenshot_2023-12-18-14-29-24-78_fc704e6b13c4fb26bf5e411f75da84f2 Screenshot_2023-12-18-14-29-17-00_fc704e6b13c4fb26bf5e411f75da84f2

LaurensRietveld avatar Dec 18 '23 13:12 LaurensRietveld

Working on this right now, I'll try to reproduce this issue and give updates shortly

imtoori avatar Dec 19 '23 07:12 imtoori

@LaurensRietveld can you confirm the oneplus 9 pro has the alert slider? I'm afraid this could cause some issues with the workaround we use to play sound on silent mode

imtoori avatar Dec 19 '23 08:12 imtoori

Hi @imtoori , yes, that one has an alert slider indeed

LaurensRietveld avatar Dec 19 '23 08:12 LaurensRietveld

Note that I also use pushover for different services, which has the option for bypassing silent mode. The mechanism they use works fine

LaurensRietveld avatar Dec 19 '23 10:12 LaurensRietveld

We are pushing a small patch that will fix a problem with android not playing sound when the device is in silent mode + DND enabled

I'm not sure this is gonna fix your issue, if it doesn't we're gonna explore other ways.

I hoped this was as easy as it is on iOS, but I'm sure we're gonna find the right workaround. Thanks a lot for reporting the issue anyways and sorry for the inconvenience.

imtoori avatar Dec 19 '23 11:12 imtoori

Great, happy to test the patch :+1:

LaurensRietveld avatar Dec 19 '23 11:12 LaurensRietveld

hey @LaurensRietveld there have been a couple of updates since we spoke, did you see any progress on your side?

imtoori avatar Jan 29 '24 06:01 imtoori

I'm gonna close this issue for now, feel free to reopen it in case this is still happening for you!

imtoori avatar Feb 09 '24 15:02 imtoori

Sorry for the delay, just tested on version 1.11.1, and I still can't bypass my silent settings (i.e., all notifications remain silent) When needed, happy to have a videocall or something if that helps @imtoori

LaurensRietveld avatar Feb 09 '24 15:02 LaurensRietveld

I'm quite sure it's due to the issue with the oneplus system :/ We'll try to find a solution I have an old OnePlus with the "alert slider", I'll do some testing and try and find a workaround

imtoori avatar Feb 09 '24 15:02 imtoori

We have located this bug and it has been fixed and is now merged to develop. It will be shipped with the v1.16.0 release. We just uploaded v1.15.0 for beta release, so the beta app for this fix (1.16.0) should be available in about 1 week.

robert-northmind avatar Mar 27 '24 14:03 robert-northmind

Many thanks @robert-northmind , just tested and it works well! :+1:

LaurensRietveld avatar Apr 08 '24 18:04 LaurensRietveld