All Collections
PWA Questions
Why do I need to delete existing manifests from my app?
Why do I need to delete existing manifests from my app?

Find out how to remove extra web app manifest from your code to prevent issues

Kevin Basset avatar
Written by Kevin Basset
Updated over a week ago

Progressier generates an app manifest based on your dashboard settings. You have no code to write. Every single field can be configured using no-code directly in Progressier.

The problem

Every PWA can only have one web app manifest. Browsers use the first they find in the code, whether or not it is valid. And there's no way to overwrite an existing manifest with another.

In other words, you'll encounter issues if your app already has an app manifest before you integrate Progressier.

Example

The first manifest is invalid. However, since it comes before the Progressier manifest in the code, it will be fetched first. And the Progressier manifest will be ignored, resulting in errors that will prevent the install prompt from being triggered completely:


Solution

The solution is fairly simple. Simply delete every line of code that starts with <link rel="manifest" from your code (besides the Progressier manifest obviously!)

Did this answer your question?