πŸ”” Native Web Notifications in Viritin

The classic Notification in Vaadin is nice and all β€” but it’s stuck inside the browser. Now Viritin gives you a Java API to trigger actual OS-level notifications. Yes, those little popups that sneak into your desktop corners.

Compared to Web Push Notifications (which partly share the same tech and for which Flow contains some helpers), these are much easier to use. No ServiceWorkers, no push servers, no persisting subscriptions, no rocket science. Just your Java and users browser.

:point_right: Live demo + source

Perfect for:

  • Grabbing user’s attention outside the tab
  • Pretending your app is more important than it is

I prefer Vaadin’s in-browser notifications for their versatility β€” but if there are important messages coming from other users or processes coming in for app that is used throughout the day, this might be the best compromise :man_shrugging:

8 Likes