SlideShare a Scribd company logo
Push Notifications on Google Chrome
Gbolahan Alli
@purple_heart_me
Google Developer Group, Ibadan
January, 2016
Google Chrome Browser
● Google Chrome is a freeware web browser[1] developed by Google.
● As of December 2015, StatCounter estimates that Google Chrome has a
58% worldwide usage share of web browsers as a desktop browser
● Also the most popular browser for smartphones, and combined across
all platforms at about 45%
● Google Chrome is a port of Chromium
Download Google Chrome from https://www.google.com/chrome/
Push Notification … What is Push Notification all about ?
Push notifications allow your users to opt-in to timely updates from your web
apps which would include using customized, engaging content.
● Available on Chrome 42 and above via the Push and Notification API’s
● Two sides to it
○ Client Side
■ Service Workers
■ Web App Manifests
○ Server Side
Service Workers… What is this ?
● It is a type of web worker
● It is totally event-driven
● It can outlive a user session
● It is a script that is
generic
● It runs only at origin
Check out chrome://serviceworker-internals/ in your browser
Web App Manifests… What is this ?
● It is a type of JSON document
● Gives you control over how your app
appears to users
● Allows you engage with your user by
adding your app to their homescreen
● It is lightweight
● Provides information like app name,
author, icon and description
Codelabs !!! Codelabs !!! Codelabs !!!
1. Create a github page. e.g https://gdgibadan.github.io
2. Open up your editor
3. Create a simple project of your choice and let’s make it
implement Push notification
Client Side
● Installable web apps from Google Developers - https://goo.gl/RrL4XE
● Web Workers on W3School - http://goo.gl/1DKfS7
● Service Worker API on Mozilla Developer Network - https://goo.gl/qor35n
● W3C Web Manifest Working Draft - http://goo.gl/mxhoob
● Push Notifications on Open Web codelab from Google Developers -
https://goo.gl/kou8JT
Further reading
Catch with GDG Ibadan activities on social media
F : www.facebook.com/gdgibadan
T : www.twitter.com/gdgibadan
F Groups : www.facebook.com/groups/gdgibadan
G+ : www.bit.ly/gdgibadanplus

More Related Content

What's hot (16)

ODP
WCO2014 - To The Word And Beyond!
Meagan Hanes
 
ODP
To The Word And Beyond! Extending WordPress Past a Simple Blog
Meagan Hanes
 
PDF
GUI toolkits comparison for python
Darren Su
 
PDF
KL MUG 9
Mark Smalley
 
PPTX
To The Word And Beyond! Extending WordPress Past a Simple Blog
Meagan Hanes
 
PDF
apidays LIVE Hong Kong - Let's get started development of API client library ...
apidays
 
PDF
MongoDB Jump Start
Haim Michael
 
PPTX
Introduction to Gutenberg- Imran Sayed
Imran Sayed
 
PPTX
Word press beirut December 4 Meetup - Gutenberg VS WP-Bakery
Fadi Nicolas Zahhar
 
PDF
Open source, What | Why | How
Nikhil Agrawal
 
ODP
Android Workshop Day 1
Senad Uka
 
PDF
Technical blog by Engineering Students of Sandip Foundation, itsitrc
Tushar B Kute
 
PPTX
Talkshow - Android N & I/O Update
Dicoding
 
PDF
Google Chrome: One of the Best Browsers for Educators - 081518
Christopher Casal
 
PDF
Build Your Blazing Fast Site with Gatsby and WordPress @ WordSesh by Muhammad...
rtCamp
 
PDF
Starters with Django
BeDjango
 
WCO2014 - To The Word And Beyond!
Meagan Hanes
 
To The Word And Beyond! Extending WordPress Past a Simple Blog
Meagan Hanes
 
GUI toolkits comparison for python
Darren Su
 
KL MUG 9
Mark Smalley
 
To The Word And Beyond! Extending WordPress Past a Simple Blog
Meagan Hanes
 
apidays LIVE Hong Kong - Let's get started development of API client library ...
apidays
 
MongoDB Jump Start
Haim Michael
 
Introduction to Gutenberg- Imran Sayed
Imran Sayed
 
Word press beirut December 4 Meetup - Gutenberg VS WP-Bakery
Fadi Nicolas Zahhar
 
Open source, What | Why | How
Nikhil Agrawal
 
Android Workshop Day 1
Senad Uka
 
Technical blog by Engineering Students of Sandip Foundation, itsitrc
Tushar B Kute
 
Talkshow - Android N & I/O Update
Dicoding
 
Google Chrome: One of the Best Browsers for Educators - 081518
Christopher Casal
 
Build Your Blazing Fast Site with Gatsby and WordPress @ WordSesh by Muhammad...
rtCamp
 
Starters with Django
BeDjango
 

Similar to Push notifications on Google Chrome (20)

PPTX
Push notification to the open web
Ahmed Gamal
 
PDF
The web - What it has, what it lacks and where it must go - keynote at Riga D...
Robert Nyman
 
PDF
The web - What it has, what it lacks and where it must go - Bulgaria Web Summ...
Robert Nyman
 
PPTX
Brug - Web push notification
Olga Lavrentieva
 
PDF
Progressive Web Apps by Millicent Convento
DEVCON
 
PDF
The web - What it has, what it lacks and where it must go - Istanbul
Robert Nyman
 
PDF
Web Push Notifications
Ugur Eker
 
PDF
The web - What it has, what it lacks and where it must go
Robert Nyman
 
PPTX
Building a PWA - For Everyone Who Is Scared To
Raymond Camden
 
PPTX
Service workers and their role in PWAs
Ipsha Bhidonia
 
PPTX
Cutting edge HTML5 API you can use today (by Bohdan Rusinka)
Binary Studio
 
PPTX
Pwa devoxx
Prateek Bhatnagar
 
PPTX
Service workers and the role they play in modern day web apps
Mukul Jain
 
PPTX
web push notifications for your webapp
Lahiru Jayakody
 
PDF
Web Push API
Luke Crouch
 
PDF
Progressive Web Apps
Software Infrastructure
 
PDF
Progressive Web Apps - Porque nativo no es significa mejor
Israel Blancas
 
PPTX
PWA basics for developers
Filip Rakowski
 
PDF
Into the Box 2018 Building a PWA
Ortus Solutions, Corp
 
PDF
Building Progressive Web Apps (Kyle Buchanan)
Red Hat Developers
 
Push notification to the open web
Ahmed Gamal
 
The web - What it has, what it lacks and where it must go - keynote at Riga D...
Robert Nyman
 
The web - What it has, what it lacks and where it must go - Bulgaria Web Summ...
Robert Nyman
 
Brug - Web push notification
Olga Lavrentieva
 
Progressive Web Apps by Millicent Convento
DEVCON
 
The web - What it has, what it lacks and where it must go - Istanbul
Robert Nyman
 
Web Push Notifications
Ugur Eker
 
The web - What it has, what it lacks and where it must go
Robert Nyman
 
Building a PWA - For Everyone Who Is Scared To
Raymond Camden
 
Service workers and their role in PWAs
Ipsha Bhidonia
 
Cutting edge HTML5 API you can use today (by Bohdan Rusinka)
Binary Studio
 
Pwa devoxx
Prateek Bhatnagar
 
Service workers and the role they play in modern day web apps
Mukul Jain
 
web push notifications for your webapp
Lahiru Jayakody
 
Web Push API
Luke Crouch
 
Progressive Web Apps
Software Infrastructure
 
Progressive Web Apps - Porque nativo no es significa mejor
Israel Blancas
 
PWA basics for developers
Filip Rakowski
 
Into the Box 2018 Building a PWA
Ortus Solutions, Corp
 
Building Progressive Web Apps (Kyle Buchanan)
Red Hat Developers
 
Ad

More from Gbolahan Alli (6)

PPTX
Progressive Web Apps
Gbolahan Alli
 
PPTX
The webs and it's future.
Gbolahan Alli
 
PPTX
Open data Festival Sierra Leone
Gbolahan Alli
 
PPTX
The web and a developer’s role
Gbolahan Alli
 
PPTX
Identity toolkit
Gbolahan Alli
 
PPTX
GDG Ibadan #pwa
Gbolahan Alli
 
Progressive Web Apps
Gbolahan Alli
 
The webs and it's future.
Gbolahan Alli
 
Open data Festival Sierra Leone
Gbolahan Alli
 
The web and a developer’s role
Gbolahan Alli
 
Identity toolkit
Gbolahan Alli
 
GDG Ibadan #pwa
Gbolahan Alli
 
Ad

Recently uploaded (20)

PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 

Push notifications on Google Chrome

  • 1. Push Notifications on Google Chrome Gbolahan Alli @purple_heart_me Google Developer Group, Ibadan January, 2016
  • 2. Google Chrome Browser ● Google Chrome is a freeware web browser[1] developed by Google. ● As of December 2015, StatCounter estimates that Google Chrome has a 58% worldwide usage share of web browsers as a desktop browser ● Also the most popular browser for smartphones, and combined across all platforms at about 45% ● Google Chrome is a port of Chromium Download Google Chrome from https://www.google.com/chrome/
  • 3. Push Notification … What is Push Notification all about ? Push notifications allow your users to opt-in to timely updates from your web apps which would include using customized, engaging content. ● Available on Chrome 42 and above via the Push and Notification API’s ● Two sides to it ○ Client Side ■ Service Workers ■ Web App Manifests ○ Server Side
  • 4. Service Workers… What is this ? ● It is a type of web worker ● It is totally event-driven ● It can outlive a user session ● It is a script that is generic ● It runs only at origin Check out chrome://serviceworker-internals/ in your browser
  • 5. Web App Manifests… What is this ? ● It is a type of JSON document ● Gives you control over how your app appears to users ● Allows you engage with your user by adding your app to their homescreen ● It is lightweight ● Provides information like app name, author, icon and description
  • 6. Codelabs !!! Codelabs !!! Codelabs !!! 1. Create a github page. e.g https://gdgibadan.github.io 2. Open up your editor 3. Create a simple project of your choice and let’s make it implement Push notification Client Side
  • 7. ● Installable web apps from Google Developers - https://goo.gl/RrL4XE ● Web Workers on W3School - http://goo.gl/1DKfS7 ● Service Worker API on Mozilla Developer Network - https://goo.gl/qor35n ● W3C Web Manifest Working Draft - http://goo.gl/mxhoob ● Push Notifications on Open Web codelab from Google Developers - https://goo.gl/kou8JT Further reading
  • 8. Catch with GDG Ibadan activities on social media F : www.facebook.com/gdgibadan T : www.twitter.com/gdgibadan F Groups : www.facebook.com/groups/gdgibadan G+ : www.bit.ly/gdgibadanplus

Editor's Notes

  • #3: Chromium is the open-source web browser project from which Google Chrome draws its source code.[4] The browsers share the majority of code and features, though there are some minor differences in features and they have different licensing.
  • #4: I’ll handle the client side aspect while Olanrewaju would handle creating a server for sending the push notification
  • #5: A web worker is JavaScript that runs in the background, independently of other scripts, without affecting the performance of the page. You can continue to do whatever you want: clicking, selecting things, etc., while the web worker runs in the background.
  • #6: Read more at : https://developer.mozilla.org/en-US/docs/Web/Manifest http://www.w3.org/TR/appmanifest/