Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Windows 10 Action Center Database #91

Open
rbreaves opened this issue Oct 11, 2020 · 3 comments
Open

Integrate Windows 10 Action Center Database #91

rbreaves opened this issue Oct 11, 2020 · 3 comments

Comments

@rbreaves
Copy link

I believe at this point with microsoft having official support for notifications it would be better to tie into the existing system or at least let that be an option. Most 3rd party applications now use native push notification support of the OS.

Windows 10, unlike macOS or Linux has 1 severe limitation - they can only ever show the notifications in the bottom right corner. Another limitation I've noticed is that I don't believe hyperlinks are clickable in the notifications either.

The sqlite3 database is located here.
%APPDATA%\Local\Microsoft\Windows\Notifications\wpndatabase.db

It'd be good to just monitor that file for changes and then push those notifications into your application. Granted you might want to create a panel that control which apps should show notifications and which ones shouldn't.

The feature I would be looking forward to the most would be the relocation of Action Center notifications to any corner on my screen.

@fullphat
Copy link
Owner

fullphat commented Oct 11, 2020 via email

@rbreaves
Copy link
Author

Np, I’ve been thinking about writing this myself but since Snarl seems like a precursor to notifications that are now built in figure I’d mention it to you first lol.

I was surprised to learn the notifications in win10 are stored in sqlite3 tbh.

@TeamSpen210
Copy link

There's actually an API for to allow listening to the notifications. It's not entirely complete (a lot of the data seems to always be null), but you could then check the database to eliminate polling. You can also just cancel the notifications to stop it from showing up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants