Skip to main content

Posts

Showing posts from 2018

Push Notifications

Recently I was exploring a relatively new feature of modern browsers - Push Notifications. While working on HTML5, I stumbled upon a site (https://html5test.com/) which shows a detailed list of features supported by different browsers. If you open above site in IE 11, you will notice that Push Message is not supported on it. I followed an article by Joseph Medley  on Web Push Notifications. The article clearly explains Service Workers. There is a working code in Github .  Interestingly I could not open Firebase Developer Console on Chrome (44). But again, its good that we have options (Firefox). One interesting fact about running these applications on IIS (on your laptop) is that .json files are not read properly. In such cases, navigate to the virtual directory on IIS & under MIME Type, please add another entry as shown in below image. MIME Type Once you add this, you will be able to enable notifications & subsequently push messages to client's system....