MccCareplan / patientsmartapp

Patient facing mobile smart on fhir Web app for multiple chronic condition care plans
Apache License 2.0
2 stars 2 forks source link

Add PWA support #3

Open ferret1964 opened 3 years ago

sam3365 commented 3 years ago

Pull Request Created: https://github.com/MccCareplan/patientsmartapp/pull/22 Added PWA functionality: start:pwa script added to package.json. This will compile the project into the dist folder, then start a local http-server instance and load the project as a PWA.

manifest and service worker are being loaded correctly: Screen Shot 2020-11-05 at 10.39.25 AM.png Screen Shot 2020-11-05 at 10.44.36 AM.png

Google Chrome browser is recognizing the fact that this web site is PWA enabled, and is giving the opportunity to add the site as a Google App, which is the behavior of a PWA running in a desktop browser. Screen Shot 2020-11-05 at 10.45.26 AM.png