Possible to have multiple `manifest.json` for PWA?

后端 未结 2 1014
鱼传尺愫
鱼传尺愫 2020-12-17 17:54

Consider I have:-

  • PWA at myapp.firebaseapp.com with it\'s own manifest.json.
  • Admin for the PWA at myapp.firebaseapp.co
2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-17 18:41

    Old questions, but I want to add to the conversation in case anyone else gets here via Googling - It's possible to remove the start_url completely from your manifest, and the default behavior should be to open your PWA to whatever page the user was on when he saved the app to the device home screen. This ended up being a better solution in my case, ymmv.

提交回复
热议问题