# JUCE Notifications on Windows

**URL:** <https://forum.juce.com/t/juce-notifications-on-windows/45415>\
**Category:** Windows\
**Created:** [April 8, 2021, 10:46am UTC](https://forum.juce.com/t/juce-notifications-on-windows/45415 "2021-04-08T10:46:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttg](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ttg/32/14456_2.png) [@ttg](https://forum.juce.com/u/ttg)\
**Post date:** [April 8, 2021, 10:46am UTC](https://forum.juce.com/t/juce-notifications-on-windows/45415/1 "2021-04-08T10:46:29Z")

</div>

Hi,  
So a while ago JUCE got PushNotifications.  
[https://docs.juce.com/master/tutorial\_push\_notifications.html](https://docs.juce.com/master/tutorial_push_notifications.html)

Local Notifications are quite easy to do but it lacks Windows and Linux.  
At least for Windows it seems pretty easy to add:

> **[GitHub - mohabouje/WinToast: WinToast is a lightly library written in C++...](https://github.com/mohabouje/WinToast)**
>
> WinToast is a lightly library written in C++ which brings a complete integration of the modern toast notifications of Windows 8 & Windows 10. Toast notifications allows your app to inform the ...

I guess this is a pretty hanging fruit for JUCE team to add at least local notifications also on Windows side.

---

<div class="post-metadata">

**Author:** ![asimilon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/asimilon/32/4235_2.png) [@asimilon](https://forum.juce.com/u/asimilon)\
**Post date:** [April 8, 2021, 12:42pm UTC](https://forum.juce.com/t/juce-notifications-on-windows/45415/2 "2021-04-08T12:42:21Z")

</div>

> [@ttg](#):
>
> Local Notifications are quite easy to do but it lacks Windows and Linux.

Interesting, presumably it’s a matter of using [JUCE: PushNotifications Class Reference](https://docs.juce.com/master/classPushNotifications.html#a7caa92ac2697cdaf137913bd91554dc6) to raise a local only notification?

That tutorial seems to be regards what comes to mind when I think of Push Notification (i.e. a notification shown even if application is not running, _pushed_ over the internet from a server)

For Linux it looks like (with a choice of 2 dependencies) local notifications (as provided in the WinToast you linked to) are also pretty straightfoward as well : [Desktop notifications - ArchWiki](https://wiki.archlinux.org/index.php/Desktop_notifications#C++)

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [April 8, 2021, 1:14pm UTC](https://forum.juce.com/t/juce-notifications-on-windows/45415/3 "2021-04-08T13:14:35Z")

</div>

After reading the [`juce::PushNotification`](https://docs.juce.com/master/classPushNotifications.html#a7caa92ac2697cdaf137913bd91554dc6) docs, to me it looks like the intention is to support both toast and push notifications (not sure why the language/terminology used in the docs are like this, but anyways):

> Both remote and local notifications are supported.

So, in terms of being well-rounded on Windows, this would mean integrating with this as well: [Windows Push Notification Services (WNS) overview - Windows apps | Microsoft Learn](https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/windows-push-notification-services--wns--overview)
