Click here to Skip to main content
15,880,469 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I have Progressive Web App(PWA) using MVC. I have tested so far where my service worker is working(able to work offline), manifest.json has no problem(able to add to homescreen). But one thing I find weird is I am seeing URL on top of the page when I am navigating. Once add to homescreen, I have no problem loading the app with home page do not have URL on top. But when I navigate to other page, the URL shows up.
Below is my manifest.json file:
{
    "name": "myPWA",
    "short_name": "myPWA",
      "icons": [{
        "src": "/images/icons/android-chrome-36x36.png",
        "sizes": "36x36",
        "type": "image/png"
      }, {
        "src": "/images/icons/android-chrome-48x48.png",
        "sizes": "48x48",
        "type": "image/png"
      }, {
        "src": "/images/icons/android-chrome-72x72.png",
        "sizes": "72x72",
        "type": "image/png"
      }, {
        "src": "/images/icons/android-chrome-96x96.png",
        "sizes": "96x96",
        "type": "image/png"
      }, {
        "src": "/images/icons/android-chrome-144x144.png",
        "sizes": "144x144",
        "type": "image/png"
      }, {
        "src": "/images/icons/android-chrome-192x192.png",
        "sizes": "192x192",
        "type": "image/png"
      }, {
        "src": "/images/icons/android-chrome-256x256.png",
        "sizes": "256x256",
        "type": "image/png"
      },{
        "src": "/images/icons/android-chrome-512x512.png",
        "sizes": "512x512",
        "type": "image/png"
      }],
    "start_url": "/home/index",
    "display": "standalone",
    "background_color": "white",
    "theme_color": "white",
    "orientation": "portrait"
  }


Any help would be appreciated.

What I have tried:

1.Tried to look for explanation online but seems none article is related to my case here.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900