title: No manifest detected at
body: <p>I found several templates covering how to trigger the Firefox and Chrome Add To Homescreen popup.</p>
  
  <p>It all seems fairly simple, an empty service-worker.js file a manifest file and javascript something like:</p>
  
  <pre><code>&lt;link rel="manifest" href="manifest.json"&gt;
  &lt;script&gt;
  if ('serviceWorker' in navigator) {
  
  console.log("Will the service worker register?");
  
  navigator.serviceWorker.register('service-worker.js')
    .then(function(reg){
  
      console.log("Yes, it did.");
  
  
   }).catch(function(err) {
  
      console.log("No it didn't. This happened:", err)
  
  });
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>But, no Add To Homescreen popup appears after revisiting the page in various time intervals.</p>
  
  <p>One things I noticed is that when validating the manifest on <a href="https://manifest-validator.appspot.com/" rel="nofollow noreferrer">https://manifest-validator.appspot.com/</a> the validation is succesful when uploading the file. However when pasting the link location on our server it fails "No manifest detected at ..."</p>
  
  <p>Could this be related? For sure the file exists and the entered path starting with https: is correct</p>
  
  <p>Or what else could be wrong with the setup?</p>
  
  <p>Thanks,
  Peter  </p>