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

Feature 3 pwa support #22

Closed sam3365 closed 3 years ago

sam3365 commented 3 years ago

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 Screen Shot 2020-11-05 at 10 44 36 AM

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