manifest.webmanifest”, and copy the following contents to the file:
{
"short_name": "PWA Name",
"name": "Full name of your PWA",
"icons": [
{
"src": "/images/icons-192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/images/icons-512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": "https://domain.com/startpage/",
"scope": "https://domain.com/",
}
| Name | Required / Optional | Description |
|---|---|---|
Required | The name of your PWA. Currently, only left-to-right languages are supported for the name. | |
Optional | A shorter version of the app name, if needed. This can be a maximum of 12 characters. | |
Optional | You can specify a starting URL to load. If not provided, this will be derived from the web-manifest-url. The start page for your PWA should directly access your app’s main functionality or a login screen leading to it. Avoid using a marketing or info page. At least one of the start_url and web-manifest-url must be provided (both cannot be missing). | |
Optional | This field allows you to specify what URL or paths should be considered as part of your app. It’s not required and you don’t need to put a value unless you have specific requirements, such as excluding portions of your website from your PWA. If not provided, this will be derived from the start_url field or the web-manifest-url parameter (whichever is provided, see information on those fields). | |
Optional | It is used to specify one or more image files that define the icons to represent your web application. The icon image will be used by the UI bar in Meta Horizon OS and on the splash screen when the app launches. | |
Optional | Specify the theme color for your application. This color will only be visible when you are outside the scope of your application on the Custom Tab Bar, and will be used with the ‘Light’ system theme. The default value for this is #FFFFFF. | |
Optional | Specify the theme color for your application. This color will only be visible when you are outside the scope of your application on the Custom Tab Bar, and will be used with the ‘Dark’ system theme. The default value for this is #000000. | |
Optional | Specify additional origins to be considered as “in-scope” for the application. You will also need to add additional asset-links to the other origins. The format of this field should be: “additional_trusted_origins”: [“www.origin_a.xyz”,”www.origin_b.xyz”] |
chrome://inspect after your PWA is launched. Click inspect to start debugging that tab in Browser.