element-hq / riot-android

A glossy Matrix collaboration client for Android
Apache License 2.0
1.4k stars 394 forks source link

No phone call ring unless app in foreground #3446

Open LinAGKar opened 4 years ago

LinAGKar commented 4 years ago

I tried with a Oneplus 5 running LeneageOS, and a Huawei phone, both running Riot from Play store, and I tried in both directions. When you make a voice call, the receiving device gets a notification that looks like a message notification, but it does not start ringing unless you're looking at the app. If the app is not running, or even if it's running in the background, it will not ring.

rajil commented 4 years ago

Make sure that app is not optimized following this.

LinAGKar commented 4 years ago

I have turned off battery optimization already.

microchipster commented 4 years ago

I am also seeing this behavior on stock Android 9 on a pixel2xl and a pixel 1.

Checklist:

Let me know if any additional data would be helpful. If anyone can provide code pointers for what might be suppressing this behavior, I could try to take a look and see if anything sticks out.

nakal commented 4 years ago

I'm affected too. No ringtone. Everything in the app is set to loud. No ringing when locked and for me even when unlocked. I only see the notification and hear a call tone in the ear piece.

Btw: This is on the new element app.

zareami10 commented 3 years ago

Facing the same issue, unless I have the app open on foreground the chances are I won't receive a call at all. Sometimes even no notifications are received.