This content originally appeared on DEV Community and was authored by Meir Gabay
In the past few weeks I've been wondering how the whole eco-system of a Progressive Web Application (PWA) works. As always, I need to get my hands dirty and code something to understand it.
My main goal is to provision a local development environment, which hot-reloads (code changed) the application on a physical Android device.
The main challenge was to figure out a way to access the PWA which is running on my local machine from my Android device (Samsung Galaxy S10). Why you ask? Because PWA requires HTTPS access so using IP addresses is not an option.
Ladies and gentleman, I present to you - unfor19/pwa-quasar-local
This project demonstrates how to develop a Progressive Web Application (PWA) locally on an Android device, using the Quasar Framework v2.
Final Results
IMPORTANT: Images may look weird on DEV.to, not sure why. Go to the GitHub repo unfor19/pwa-quasar-local if you experience weird widths and heights
I took screenshots with my Android device during the process to document the full user-experience of installing a PWA for the first time.
Accessed PWA From Android Device
The Add to Home Screen
popup appears!
Clicked Add To Home Screen
Clicked Install
Installation Completed
PWA Appears On The Device's Apps List
PWA Has A Cool Splashscreen
That is thanks to Quasar which does it, as always, automatically.
First Run After Installation
The application is running on the device as if it were a "normal application".
Final Words
It was a true joy to work with Quasar since it made the whole process of generating a PWA out-of-the-box, without writing a single line of code. So head over to unfor19/pwa-quasar-local and do your PWA magic!
This content originally appeared on DEV Community and was authored by Meir Gabay

Meir Gabay | Sciencx (2021-12-02T20:46:17+00:00) How To Develop A Progressive Web Application On An Android Device. Retrieved from https://www.scien.cx/2021/12/02/how-to-develop-a-progressive-web-application-on-an-android-device/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.