1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google Web App Install Banners - How?

Discussion in 'Forum Management' started by Amin Sabet, Sep 26, 2016.

  1. Amin Sabet

    Amin Sabet Well-Known Member

    I want to do this: https://developers.google.com/web/u...p-install-banners-in-chrome-for-android?hl=en

    Basically it launches a banner asking people to "install" your site.

    These are the steps they give:
    • You have a web app manifest file, which defines how your app appears on the user’s system and how it should be launched
      • The manifest must have a `short_name`, a name for display in the banner,
      • A start URL (e.g. / or index.html) which must be loadable,
      • At least an `144x144` PNG icon
      • Your icon declarations should include a mime type of image/png
    • You have a service worker registered on your site. We recommend a simple custom offline pageservice worker
    • Your site is served over HTTPS (service worker requires HTTPS for security)
    • The user has visited your site at least twice, with at least five minutes between visits.
    Compliant web app manifest file: Check
    HTTPS: Check
    Service worker registered: Check
    Site visited more than twice with at least 5 min between: Check

    Banner not showing :(.

    Has anyone gotten this to work on their Xenforo site?
    Last edited: Sep 26, 2016
    StarArmy likes this.
  2. Amin Sabet

    Amin Sabet Well-Known Member

    Figured it out. I'll write up a resource explaining.
    StarArmy likes this.
  3. StarArmy

    StarArmy Active Member

    Cool! I'm interested to see your instructions.
  4. Amin Sabet

    Amin Sabet Well-Known Member

    StarArmy likes this.

Share This Page