If you're using the Opsgenie app on Android you may have noticed that Opsgenie appears to turn on and leave on your DND setting, which can cause you to miss calls and text messages. This is due to a limitation in Andriod (explained at the end of the article); however, the workaround is simple.
First, it is important to know that there is a method of allowing apps to override DND that is native to Andriod, which, when utilized with Opsgenie or any other app, will not cause the issue of DND being left on.
When you initially install Opsgenie on your phone, the app will ask permission to access your DND settings. This is NOT the Android setting that allows apps to override DND; rather it is a separate Android setting that allows Opsgenie full access to control your DND - that is, it gives Opsgenie the authority to turn DND off or on. This is the feature you will want to disallow.
This can be done by navigating to your phone's settings and finding the 'special app access' menu. There will be a submenu for 'Do Not Disturb Access' - find Opsgenie within this list and toggle off its access. If you can't find this menu, you can also uninstall the app and reinstall it again; This time when the pop-up menu asks you to allow Opsgnie to access your DND settings, don't change any settings.
You can still let Opsgenie override DND by going to Settings >> Notifications >> Do Not Disturb >> Apps and adding Opsgenie as an allowed app to this list. This will allow Opsgenie to send notifications when the phone is in DND, but the important difference with this feature is that app will not be allowed to turn DND off or on, which is what the 'special app access' allows.
Why this issue occurs
This issue arises due to the fact that Android disallows apps from accessing DND schedules due to their privacy policies. This means that if you use scheduled DND for sleeping hours, the 'Flip to Shhh' feature, or any other feature that consists of a DND schedule where DND is automatically turned off at the end of a given period, Opsgenie cannot access that schedule.
With full access to your phone's DND through the 'special app access,' Opsgenie turns DND off to push its notifications through, then turns it back on; however, if it was on a schedule (such as "Flip to Shhh") before the notification came through, Opsgenie has no way to access that schedule so it simply turns DND back on without a schedule to follow, which means it stays on until you manually shut it off, which can result in missed calls, text, and notifications.
This is why it is preferred to not allow Opsgenie access to control your DND setting, but rather to set Opsgenie as an app that can override DND in your phone's list of apps that can override DND. It will have the same exact effect, but without the issue of Opsgenie potentially leaving DND turned on.
John M
Support Engineer
Atlassian
111 accepted answers
4 comments