Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: setup a complete webmanifest for pwa compat

thecodrr30f4b7a29d3b
diff --git a/apps/web/public/index.html b/apps/web/public/index.html
index 8977e759e..fef861450 100644
--- a/apps/web/public/index.html
+++ b/apps/web/public/index.html
@@ -25,10 +25,7 @@
sizes="16x16"
href="%PUBLIC_URL%/favicon-16x16.png"
/>
- <link
- rel="manifest"
- href='data:application/manifest+json,{"name":"Notesnook - Your private note taking space","short_name":"Notesnook","icons":[{"src":"favicon.ico","sizes":"64x64 32x32 24x24 16x16","type":"image/x-icon"},{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"start_url":".","theme_color":"rgb(255,255,255)","background_color":"rgb(255,255,255)","display":"standalone"}'
- />
+ <link rel="manifest" href="/site.webmanifest" />
<!-- <link rel="manifest" href="%PUBLIC_URL%/site.webmanifest" /> -->
<link
rel="mask-icon"
diff --git a/apps/web/public/screenshots/1.webp b/apps/web/public/screenshots/1.webp
new file mode 100644
index 000000000..29bea6d93
Binary files /dev/null and b/apps/web/public/screenshots/1.webp differ
diff --git a/apps/web/public/screenshots/2.webp b/apps/web/public/screenshots/2.webp
new file mode 100644
index 000000000..53a92e7f7
Binary files /dev/null and b/apps/web/public/screenshots/2.webp differ
diff --git a/apps/web/public/screenshots/3.webp b/apps/web/public/screenshots/3.webp
new file mode 100644
index 000000000..5965a5208
Binary files /dev/null and b/apps/web/public/screenshots/3.webp differ
diff --git a/apps/web/public/screenshots/4.webp b/apps/web/public/screenshots/4.webp
new file mode 100644
index 000000000..256603736
Binary files /dev/null and b/apps/web/public/screenshots/4.webp differ
diff --git a/apps/web/public/screenshots/5.webp b/apps/web/public/screenshots/5.webp
new file mode 100644
index 000000000..dda16b40a
Binary files /dev/null and b/apps/web/public/screenshots/5.webp differ
diff --git a/apps/web/public/screenshots/6.webp b/apps/web/public/screenshots/6.webp
new file mode 100644
index 000000000..dc409d52d
Binary files /dev/null and b/apps/web/public/screenshots/6.webp differ
diff --git a/apps/web/public/screenshots/7.webp b/apps/web/public/screenshots/7.webp
new file mode 100644
index 000000000..1eb8d7e5b
Binary files /dev/null and b/apps/web/public/screenshots/7.webp differ
diff --git a/apps/web/public/screenshots/8.webp b/apps/web/public/screenshots/8.webp
new file mode 100644
index 000000000..1f3da72ff
Binary files /dev/null and b/apps/web/public/screenshots/8.webp differ
diff --git a/apps/web/public/site.webmanifest b/apps/web/public/site.webmanifest
index e7729eb59..dcedba73b 100644
--- a/apps/web/public/site.webmanifest
+++ b/apps/web/public/site.webmanifest
@@ -1,11 +1,48 @@
{
- "name": "Notesnook - Your private note taking space",
+ "name": "Notesnook - Private notes app",
+ "description": "Notesnook is a simple and private note taking app that keeps your notes organized and synced on your phone, tablet and computer.",
"short_name": "Notesnook",
+ "shortcuts": [
+ {
+ "name": "New note",
+ "url": "/#/notes/create",
+ "description": "Create a new note",
+ "icons": [
+ {
+ "src": "/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ }
+ ]
+ },
+ {
+ "name": "New notebook",
+ "url": "/#/notebooks/create",
+ "description": "Create a new notebook",
+ "icons": [
+ {
+ "src": "/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ }
+ ]
+ }
+ ],
"icons": [
{
- "src": "favicon.ico",
- "sizes": "64x64 32x32 24x24 16x16",
- "type": "image/x-icon"
+ "src": "favicon-16x16.png",
+ "sizes": "16x16",
+ "type": "image/png"
+ },
+ {
+ "src": "favicon-32x32.png",
+ "sizes": "32x32",
+ "type": "image/png"
+ },
+ {
+ "src": "favicon-72x72.png",
+ "sizes": "72x72",
+ "type": "image/png"
},
{
"src": "/android-chrome-192x192.png",
@@ -18,8 +55,65 @@
"type": "image/png"
}
],
- "start_url": ".",
- "theme_color": "#ffffff",
+ "screenshots": [
+ {
+ "src": "/screenshots/1.webp",
+ "sizes": "960x1920",
+ "type": "image/webp"
+ },
+ {
+ "src": "/screenshots/2.webp",
+ "sizes": "960x1920",
+ "type": "image/webp"
+ },
+ {
+ "src": "/screenshots/3.webp",
+ "sizes": "960x1920",
+ "type": "image/webp"
+ },
+ {
+ "src": "/screenshots/4.webp",
+ "sizes": "960x1920",
+ "type": "image/webp"
+ },
+ {
+ "src": "/screenshots/5.webp",
+ "sizes": "960x1920",
+ "type": "image/webp"
+ },
+ {
+ "src": "/screenshots/6.webp",
+ "sizes": "960x1920",
+ "type": "image/webp"
+ },
+ {
+ "src": "/screenshots/7.webp",
+ "sizes": "960x1920",
+ "type": "image/webp"
+ },
+ {
+ "src": "/screenshots/8.webp",
+ "sizes": "960x1920",
+ "type": "image/webp"
+ }
+ ],
+ "related_applications": [
+ {
+ "platform": "play",
+ "url": "https://play.google.com/store/apps/details?id=com.streetwriters.notesnook",
+ "id": "com.streetwriters.notesnook"
+ },
+ {
+ "platform": "itunes",
+ "url": "https://apps.apple.com/us/app/notesnook-private-notes-app/id1544027013"
+ }
+ ],
+ "prefer_related_applications": true,
+ "orientation": "any",
+ "start_url": "/signup",
+ "id": "/signup",
+ "theme_color": "#01c352",
"background_color": "#ffffff",
- "display": "standalone"
+ "display": "standalone",
+ "categories": ["productivity", "lifestyle", "education", "books"]
}