Skip to content

Instantly share code, notes, and snippets.

@Akash52
Created May 28, 2023 09:50
Show Gist options
  • Save Akash52/4abb82192cabc3c6f34fee7eff3e6229 to your computer and use it in GitHub Desktop.
Save Akash52/4abb82192cabc3c6f34fee7eff3e6229 to your computer and use it in GitHub Desktop.
manifest.json for all the tech
{
"name": "application name", // sets the name of the app
"short_name": "short name application", // sets a shorter name of the app
"theme_color": "#1976d2", // determines the primary color scheme used by the app
"background_color": "#fafafa", // sets the background color behind the app when it is launched
"display": "standalone", // determines how the app is displayed to users
"scope": "./", // specifies the base URL for the app and restricts its access to specific folders
"start_url": "./", // specifies the URL where the app should start when launched from the user's home screen or app launcher
"icons": [ // contains an array of objects specifying the icons used for the app
{
"src": "assets/icons/icon-72x72.png", // specifies the source image file for the icon
"sizes": "72x72", // specifies the size of the icon
"type": "image/png", // specifies the file type of the icon
"purpose": "maskable any" // specifies the purpose of the icon (in this case, that it can be used for any purpose, including as a mask for rounded corners)
},
.......
// More icons can be added here
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment