From the course: JavaScript: Progressive Web Applications
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Testing the hosted app - JavaScript Tutorial
From the course: JavaScript: Progressive Web Applications
Testing the hosted app
- [Instructor] I've loaded the PWA app on my server so we can play around with it in the real world. So if you have the emulator still running, I want you to kill it, and then from the AVD manager, select the emulator and then choose Wipe Data. After you've wiped the data then restart it by clicking the triangle. Once the emulators up and running, start Chrome. I'm up for making Chrome better. I'm not gonna sign into Chrome to keep this anonymous. I'm always in for creating a better keyboard and then we can navigate to pwa.bright-moments.com using https. So it's pwa.bright-moments.com Click allowed to allow notifications and then at the top you'll see our user gesture for installing the app. Click on yes please. Here you'll see the add to home screen dialogue. You can go ahead and click add and I'm gonna let Chrome add it automatically. Okay, then touch the square icon. That brings up the history list and we can dismiss Chrome. The emulator will show us the app we just added. Again…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Introduction to notifications2m 21s
-
(Locked)
Requesting permission to show notifications5m 26s
-
(Locked)
Displaying a notification4m 50s
-
(Locked)
Adding data to a notification4m 36s
-
(Locked)
Closing a notification3m 33s
-
(Locked)
Handling the notification click event11m 25s
-
(Locked)
Push messaging overview1m 24s
-
(Locked)
Adding Firebase Cloud Messaging to the project2m 15s
-
(Locked)
Subscribing to push messaging6m
-
(Locked)
Handling push notifications3m 14s
-
(Locked)
Sending a tickle using cURL4m 57s
-
(Locked)
Sending data in a push message2m 9s
-
(Locked)
Installing Mozilla's Web Push library2m 51s
-
(Locked)
Modifying the push event handler2m 52s
-
(Locked)
Modifying the notification click event3m 48s
-
(Locked)
Creating the web push script6m
-
(Locked)
Testing the hosted app5m 7s
-
(Locked)
-
-