question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disabling notifications also make incoming call not working

See original GitHub issue

Next steps:

The decision has been made to keep the behaviour the same but update the copy so that users understand the impact of disabling notifications this way.

Design will need to provide suggested copy and the desired delivery of such method for discussion with the team (sub-text, pop-up, etc)

Original Issue:

The problem is only observed when the application is on background, which I assume is the case most of the time

When user disables the notifications, at account level or at session level from the settings of the app:

image

It’s not mentioned that a side effect is that no sync will be performed anymore when the app is in background and so the application cannot be aware of any incoming calls.

Possible quick fix

We should modify the wording of the settings to warn the user about this (maybe but probably) unexpected side effect.

Possible fix 1

When user disable the notification the app will not remove the pusher, but will modify the push rule to not filter out the incoming call event (m.call.invite). It will not work for encrypted rooms, so we will receive a push for all events from e2e.

Possible fix 2

Have a special sync thread to handle call signaling, which is always running, even if notification are disable (same pb for e2e rooms)

Possible fix 3

When unchecked, the setting “Enable notifications for this session” will not remove the pusher, but just make the app not display any notifications for messages at all (so the app will only display incoming call notification).

We could add another setting to fully remove the pusher, and which explicitly warn the user that incoming call will not work when the app is in background.

Other possible fix?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
richvdhcommented, Sep 10, 2020

ok, some thoughts on this.

First of all, e2e rooms are a big problem here: currently, you have to decrypt every event to check if it is a voip call. https://docs.google.com/document/d/1--jNzeyNn61EllbmFw6zAS1Oj8-i3JBfF_sCBI5CgiA/edit#heading=h.2dri2t8s1xsd proposes to address this by moving some metadata outside the event. So I think that will be the medium-term solution there.

It seems to me that the client should be able to configure the server to only send pushes for voip calls (so basically, fix 1). However, push rules are going away, so my suggestion is that we either park this or make the quick fix for now, and consider how to resolve it properly in a post-push-rules world. I’ll make sure to consider this in my notifications rework.

0reactions
daniellekirkwoodcommented, Jan 7, 2022

Product decision: Update the copy.

Disabling notifications means just that, we can add sub-text or a warning that this removes all notifications including calls.

Removing the Needs-Product label.

Next steps: Design

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix display not waking up with incoming calls issue
Next up, go to the Apps and Notifications option in the main device Settings, and then press on the Advanced option> Special App...
Read more >
Fix Incoming Call Not Showing On Screen Android - GizNext
You might have mistakenly disabled call notifications, which can be the reason why incoming call notifications are not showing.
Read more >
Control notifications on Android - Google Help
Open your phone's Settings app. · Tap Apps & notifications and then Notifications. · Under “Recently Sent,” tap an app. · Tap a...
Read more >
4 ways to turn off annoying notifications on your Android ...
4 ways to turn off annoying notifications on your Android phone or iPhone · Let Do Not Disturb mode screen your calls (Android...
Read more >
How to Fix Incoming Call Not Showing on Screen on Android
How to Fix Incoming Call Not Showing on Screen on Android | Are you facing the random issue of your Android phone not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found