Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make components essentially progressive (service workers) in anticipation of push messaging #43

Closed
7 tasks
ReinsBrain opened this issue Mar 2, 2019 · 5 comments
Assignees

Comments

@ReinsBrain
Copy link
Collaborator

ReinsBrain commented Mar 2, 2019

meeting criteria: https://developers.google.com/web/fundamentals/app-install-banners/#criteria

  • The web app is not already installed.
    and prefer_related_applications is not true.
  • Includes a web app manifest that includes:
    short_name or name
    • icons must include a 192px and a 512px sized icons
    • start_url
    • display must be one of: fullscreen, standalone, or minimal-ui
  • Served over HTTPS (required for service workers)
  • Has registered a service worker with a fetch event handler

When these criteria are met, will fire a beforeinstallprompt event that you can use to prompt the user to install your Progressive Web App, and may show a mini-info bar. See Listen for beforeinstallprompt.

Helpers: https://github.com/GoogleChrome/workbox

@jegj
Copy link
Member

jegj commented Mar 14, 2019

@ReinsBrain @pablolimo @oreyes1991 Parcel is a pain in the ass .... it doesn't have a good PWA support yet ....i just trying to connect the service worker with the build... the way parcel works with assets make really hard to pre-caches assets in the service worker( since the name changes all the time... main.21haha122.js). i was able to set up push notification but i think we should go back with webpack.... think parcel is good for smalls projects like the front-script

@jegj jegj removed the blocked label Mar 14, 2019
@jegj
Copy link
Member

jegj commented Mar 14, 2019

found something that can help to continue using parcel....

@jegj jegj added the blocked label Mar 15, 2019
@jegj
Copy link
Member

jegj commented Mar 15, 2019

doesn't work ..... 😠

@oreyes1991
Copy link
Contributor

oreyes1991 commented Mar 15, 2019

yeah i see other people having trouble, we should go back to webpack

@jegj
Copy link
Member

jegj commented Mar 18, 2019

Closed ... new ticket required to go back to webpack

@jegj jegj closed this as completed Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants