Seneca-ICTOER / Intro2C

Seneca College IPC144 Course Notes
https://ipc144.sdds.ca
Other
7 stars 52 forks source link

Add custom PWA button #135

Closed Kevan-Y closed 2 years ago

Kevan-Y commented 2 years ago

Part of Issues #11 For more visibility, we decided to add a button to install the app

https://user-images.githubusercontent.com/58233223/144284965-0f1c7c36-d1d2-4da2-ab5a-218c38395b38.mp4

Kevan-Y commented 2 years ago

Nice!

I assume you're following/reading https://web.dev/customize-install/?

Yes I was following/reading the link above

Kevan-Y commented 2 years ago

Added window.deferredPrompt = null; to reset the deferredPrompt