Unable to see Install button on PWA developed on Angular using service workers after publish

Issue

This Content is from Stack Overflow. Question asked by Farman Ameer

I have angular version 12.2. I am using Service Worker. When I run on localhost it works fine and displays install button on browser. But when I deploy it to my server or IIS server, install button doesn’t show.
Here is the picture of localhost
enter image description here

I have followed all the steps mentioned on Angular website
Getting started with service workers



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?