pwa.rocks | A selection of Progressive Web Apps | Frontend Framework library

 by   pwarocks HTML Version: Current License: Apache-2.0

kandi X-RAY | pwa.rocks Summary

kandi X-RAY | pwa.rocks Summary

pwa.rocks is a HTML library typically used in User Interface, Frontend Framework, Angular, React applications. pwa.rocks has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

A selection of Progressive Web Apps
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pwa.rocks has a medium active ecosystem.
              It has 843 star(s) with 448 fork(s). There are 48 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 53 open issues and 67 have been closed. On average issues are closed in 48 days. There are 299 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of pwa.rocks is current.

            kandi-Quality Quality

              pwa.rocks has no bugs reported.

            kandi-Security Security

              pwa.rocks has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              pwa.rocks is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              pwa.rocks releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pwa.rocks
            Get all kandi verified functions for this library.

            pwa.rocks Key Features

            No Key Features are available at this moment for pwa.rocks.

            pwa.rocks Examples and Code Snippets

            No Code Snippets are available at this moment for pwa.rocks.

            Community Discussions

            QUESTION

            Link to add external PWA to homepage
            Asked 2019-Jan-23 at 23:36

            We want to make our own app store as a website where all the "apps" are PWAs. Since people aren't yet used to the "Add to home screen" feature of PWAs, we want to make all the apps in our app store instantly launch the "Add to home screen" feature of the PWA.

            For example, https://pwa.rocks/ is a nice "app store." But to add it to the home screen, users have to first navigate to the page, and then they are prompted to add it to the home screen. We want to skip step one entirely.

            ...

            ANSWER

            Answered 2019-Jan-23 at 23:36

            Your use case seems prone to abuse and has the potential to do serious damage both to your brand as well as the general perception of PWA's by your customers.

            However, to answer your question, you could try using frames or iframes to achieve this. Here are the criteria to get the Add to Homescreen banner to show up:

            • The web app must not already be installed
            • Must meet a user engagement heuristic (currently, the user has interacted with the domain for at least 30 seconds)
            • Must have 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
            • Must be served over HTTPS (required for service workers)
            • Must have registered a service worker with a fetch event handler

            When these criteria are met, Chrome will fire a beforeinstallprompt event that you can use to prompt the user to install your Progressive Web App.

            Other browsers have different criteria for installation, or to trigger the beforeinstallprompt event.

            Source:

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

            Source https://stackoverflow.com/questions/54334244

            QUESTION

            A2HS stopped triggering for any PWA. Are there actual specifications that trigger A2HS?
            Asked 2018-May-28 at 07:17

            I have been working with PWA (progressive web apps) for quite some time but recently I wanted to show to another person the A2HS Pop-up (add to home screen) functionality and It does not trigger on ANY PWA on my phone or theirs.

            Listing examples from https://pwa.rocks or even my own, have an 100% PWA pass rate on lighthouse, the pop up gets triggered normally if you use the application console, but it just doesnt appear organically.

            I also registered the event "beforeinstallprompt" to send console logs but nothing.

            Are there actual specifications for when the prompt becomes visible? What has changed over the course of 1-2 months that stopped the pop up from occurring?

            ...

            ANSWER

            Answered 2018-May-28 at 07:17

            There are certain spec changes recently. Going ahead, starting from chrome version 68, the developer will have to manually trigger the prompt by capturing the beforeinstallprompt, deferring it if required, and calling prompt() method on it as and when required. More on it can be read from the official document, which states the updated requirements as:

            1. The web app is not already installed
            2. Meets a user engagement heuristic (currently, the user has interacted with the domain for at least 30 seconds)
            3. Meets the Progressive Web App criteria:
              (a) Includes a web app manifest that includes:

              (i) short_name or name

              (ii) icons mustinclude a 192px and a 512px sized icons

              (iii) start_url

              (iv) display must be one of: fullscreen, standalone, or minimal-ui

              (b) Served over HTTPS (required for service workers)

              (c) Has registered a service worker with a fetch event handler

            Also, now coming to the second part of why beforeinstallprompt not getting fired and not sending console outputs. The reasons can be:

            1. "You can only call prompt() on the deferred event once, if the user dismissed it, you'll need to wait until the beforeinstallprompt event is fired on the next page navigation." So essentially what this might mean is that if you might have cancelled the event or closed the pop up, it might not even get triggered again. AFAIK, there's a cool off period which can go on till 90 days.
            2. "If the web app manifest includes related_applications and has 'prefer_related_applications': true, the native app install prompt will be shown instead." There can be a possibility of setting the prefer_related_application flag to true and missing out on mentioning the related_applications tag. Hence, none of the installation prompts might appear.
            3. Make sure the you are not testing "A2HS" flow on the desktop (use remote debugging instead). Because as given in this article, "Chrome has a slightly different install flow for desktop and mobile. Although the instructions are similar, testing on mobile requires remote debugging, without it, it will use the desktop install flow." and "For Mac or Windows, you'll need to enable the #enable-desktop-pwas flag".

            Source https://stackoverflow.com/questions/50550820

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pwa.rocks

            You can download it from GitHub.

            Support

            We’re happy to feature other nice-looking progressive web apps in the list. They should:. This combination of features will trigger the web app install banner in Opera and Chrome (to trigger it on the first visit, we recommend enabling Bypass user engagement checks option in chrome:flags or opera:flags), unless the site is intercepting onbeforeinstallprompt. In the latter case, the banner is triggered at a custom point in time, defined by the site’s own logic.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/pwarocks/pwa.rocks.git

          • CLI

            gh repo clone pwarocks/pwa.rocks

          • sshUrl

            git@github.com:pwarocks/pwa.rocks.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link