Problems with manifest.json in assets directory (RC0)

The manifest.json ought to be on top level?
The ionic starter for V2 now creates a broken configuration:

  1. The default manifest.json icon path is broken

An error when testing in Chrome (desktop):
the manifest ends up pointing at assets/assets/imgs/logo.png

Created by the starter:

  "name": "Ionic",
  "short_name": "Ionic",
  "start_url": "index.html",
  "display": "standalone",
  "icons": [{
    "src": "assets/imgs/logo.png",
    "sizes": "512x512",
    "type": "image/png"
  "background_color": "#4e8ef7",
  "theme_color": "#4e8ef7"

Solution: remove assets/ from the icon path.

  1. Add to homescreen from Chrome dev tools - result: unable to launch from the icon:

    Cannot GET /assets/index.html

Quick solution: add

"scope": "/",

to the manifest.json

Have not tested thoroughly yet these, so try with caution.
Seems as both of the issues are related to the change of moving the manifest.json to assets.

I had the same problem and the way I solved it is to go one directory up like this :slight_smile:
also in the manifest.json that exists in the assets folder I did the following change
"start_url": "index.html", -> "start_url": "../index.html",

I hope it will help also others that are dipping their fingers in the PWA world.