diff --git a/public/images/screenshots/ediary-blogs.png b/public/images/screenshots/ediary-blogs.png new file mode 100644 index 0000000..7828f34 Binary files /dev/null and b/public/images/screenshots/ediary-blogs.png differ diff --git a/public/images/screenshots/ediary-features.png b/public/images/screenshots/ediary-features.png new file mode 100644 index 0000000..03b34e0 Binary files /dev/null and b/public/images/screenshots/ediary-features.png differ diff --git a/public/images/screenshots/ediary-profile.png b/public/images/screenshots/ediary-profile.png new file mode 100644 index 0000000..87c4e01 Binary files /dev/null and b/public/images/screenshots/ediary-profile.png differ diff --git a/public/images/screenshots/ediary-welcome.png b/public/images/screenshots/ediary-welcome.png new file mode 100644 index 0000000..92fdbae Binary files /dev/null and b/public/images/screenshots/ediary-welcome.png differ diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest index 9fadbfc..ca2448a 100644 --- a/public/manifest.webmanifest +++ b/public/manifest.webmanifest @@ -1,8 +1,11 @@ { + "id": "com.shakiltech.ediary", "name": "Ediary App", "short_name": "Ediary", "start_url": "/?utmsource=homescreen", + "scope": "/", "display": "standalone", + "orientation": "portrait-primary", "background_color": "#2d3748", "theme-color": "#2d3748", "description": "Securely write and save your private Diary", @@ -153,5 +156,30 @@ "url": "/request-data?utmsource=homescreen", "icons": [{ "src": "/icons/old/icons-96.png", "sizes": "96x96" }] } - ] + ], + "screenshots": [ + { + "src": "/images/screenshots/ediary-features.png", + "sizes": "375x760", + "type": "image/png" + }, + { + "src": "/images/screenshots/ediary-profile.png", + "sizes": "375x760", + "type": "image/png" + }, + { + "src": "/images/screenshots/ediary-welcome.png", + "sizes": "375x760", + "type": "image/png" + }, + { + "src": "/images/screenshots/ediary-blogs.png", + "sizes": "375x760", + "type": "image/png" + } + ], + "dir": "ltr", + "handle_links": "preferred", + "categories": ["productivity", "utilities", "personalization"] } diff --git a/public/sw.js b/public/sw.js index 4973363..35d2547 100644 --- a/public/sw.js +++ b/public/sw.js @@ -1,4 +1,4 @@ -const CACHE_NAME = 'ediary-cache-v2'; +const CACHE_NAME = 'ediary-cache-v3'; const urlsToCache = [ '/', '/?utmsource=homescreen', @@ -17,6 +17,10 @@ const urlsToCache = [ '/blog', '/faq', '/search?utmsource=homescreen', + '/images/screenshots/ediary-features.png', + '/images/screenshots/ediary-profile.png', + '/images/screenshots/ediary-welcome.png', + '/images/screenshots/ediary-blogs.png', ]; self.addEventListener('install', function (event) { diff --git a/resources/views/includes/meta.blade.php b/resources/views/includes/meta.blade.php index 812e0d7..db62ec9 100644 --- a/resources/views/includes/meta.blade.php +++ b/resources/views/includes/meta.blade.php @@ -13,7 +13,7 @@ - +