google-chromehttphttps

Site cannot be installed: the page is not served from a secure origin


I have created manifest.json to a site to enable to save the web app icon on a desktop.

My developer website is over HTTP - Which doesn't work when I click on add to home screen from application tab.

I am getting console error:

Site cannot be installed: the page is not served from a secure origin

The same code works over HTTPS.

How can I simply bypass this issue in HTTP?

Note : I have followed the following step in chrome browser, it didn't resolve my issue: Stackoverflow previously Question

Any help will be greatly appreciated.


Solution

  • chrome://flags/#unsafely-treat-insecure-origin-as-secure enabled and add site origin