jenius-apps / ambie

An app that uses white noise, nature sounds, and focus features to boost your productivity.
https://ambieapp.com
MIT License
1.89k stars 143 forks source link

If Do Not Disturb is on, warn user on focus page #376

Open dpaulino opened 1 year ago

dpaulino commented 1 year ago

Current problem:

Note: investigation has shown there is no way for a UWP app to detect if Do Not Disturb is on. So this issue might never be resolved.

AnalogFeelings commented 1 year ago

working on it

dpaulino commented 1 year ago

@AnalogFeelings first off, I want to thank you for the contribution you've made with ambie for this issue and for others! You've been a great help. Unfortunately for this particular issue, I realize there was a problem in the requirements I listed. What I should have said was "If Do Not Disturb is on, warn user on focus page".

The work you did correctly addresses the scenario for focus mode, but I made the mistake in the original issue. Making things worse, as you investigated, there is no way for a UWP app to determine if Do Not Disturb is on. So this issue might have reached a dead end.

Next steps:

Let me know what you think

AnalogFeelings commented 1 year ago

Sure, hopefully Microsoft makes the DND API public soon or makes requesting a key a possibility.