Right now here are 2 web app manifests: - public/favicon/site.webmanifest - public/manifest.json But only the 1st one is referred in the html This commit - merged them into public/site.webmanifest (according to https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Add_to_home_screen#manifest, it should be in the root, whereas the spec suggests the `.webmanifest` extension - complete the required fields It now passes the Lighthouse PWA manifest test in Chrome
40 lines
809 B
JSON
40 lines
809 B
JSON
{
|
|
"app": {
|
|
"launch": {
|
|
"urls": [
|
|
"https://app.standardnotes.com/"
|
|
],
|
|
"web_url": "https://app.standardnotes.com",
|
|
"container": "tab"
|
|
}
|
|
},
|
|
"offline_enabled": true,
|
|
"permissions": [],
|
|
"requirements": {
|
|
"3D": {
|
|
"features": []
|
|
}
|
|
},
|
|
"icons": [
|
|
{
|
|
"src": "favicon/android-chrome-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "favicon/android-chrome-512x512.png",
|
|
"sizes": "512x512",
|
|
"purpose": "any maskable",
|
|
"type": "image/png"
|
|
}
|
|
],
|
|
"name": "Standard Notes",
|
|
"description": "A Simple And Private Notes App",
|
|
"version": "1.0",
|
|
"manifest_version": 2,
|
|
"theme_color": "#ffffff",
|
|
"background_color": "#ffffff",
|
|
"display": "standalone",
|
|
"start_url": ".."
|
|
}
|