web app push notifications
-
Can web apps push notifications to the Navbar?
Latest I could find was from Cannonical in 2015 saying support is coming. Did it ever arrive?
-
@rocket2nfinity Unfortunately not today... But In a near future I hope! This is an issue I open for morph-browser https://github.com/ubports/morph-browser/issues/218
-
Even with web notifications implemented in a way that they get added to the notifications menu, they will only happen if the app is running.
If you want actual push notifications, then support for the Ubuntu push server will need to be added to the web site in question.
Instead, it may also be possible to write a "plug-in" for
account-polld
which queries the server for new notifications and presents them to the user. This would be an executable which gets shipped with the app, and is run by the system every so often, and is killed after a set time limit. If the service for the webapp provides a method of getting this info, it could be done reasonably this way. -
@dobey Yes it's right there is no web-worker today. But it's a long day... and during this time sync-plugins-social do the job As dicussed here