From 198a0f7011805c7f690925fd191f4f10753a20c5 Mon Sep 17 00:00:00 2001 From: Arvind Chembarpu Date: Mon, 21 Sep 2020 21:21:32 +0200 Subject: [PATCH 1/4] Delete manifest.json --- public/manifest.json | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 public/manifest.json diff --git a/public/manifest.json b/public/manifest.json deleted file mode 100644 index e99614ce90..0000000000 --- a/public/manifest.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "Firefly III", - "short_name": "Firefly III", - "icons": [ - { - "src": "\/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image\/png", - "density": 4 - }, - { - "src": "\/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image\/png" - } - ], - "display": "standalone", - "start_url": "/", - "orientation": "portrait" -} From 855fe1235ac5ea13754cd89feb66401d8f9b9570 Mon Sep 17 00:00:00 2001 From: Arvind Chembarpu Date: Mon, 21 Sep 2020 21:24:03 +0200 Subject: [PATCH 2/4] Rename site.webmanifest to manifest.webmanifest As per Web App Manifest spec - https://www.w3.org/TR/appmanifest/ --- public/{site.webmanifest => manifest.webmanifest} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename public/{site.webmanifest => manifest.webmanifest} (100%) diff --git a/public/site.webmanifest b/public/manifest.webmanifest similarity index 100% rename from public/site.webmanifest rename to public/manifest.webmanifest From 86cd3c0c3894afb3cfa98e94ca09f6e68b8472c3 Mon Sep 17 00:00:00 2001 From: Arvind Chembarpu Date: Mon, 21 Sep 2020 21:24:32 +0200 Subject: [PATCH 3/4] Do not force portrait mode For easier use on larger devices like tablets --- public/manifest.webmanifest | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest index 4b1fa25232..9da0cb311b 100644 --- a/public/manifest.webmanifest +++ b/public/manifest.webmanifest @@ -15,6 +15,5 @@ ], "theme_color": "#3c8dbc", "background_color": "#3c8dbc", - "display": "standalone", - "orientation": "portrait" + "display": "standalone" } From 14f22009ed74c9532c4efd07facbb92c2c40101a Mon Sep 17 00:00:00 2001 From: Arvind Chembarpu Date: Mon, 21 Sep 2020 21:25:57 +0200 Subject: [PATCH 4/4] Update manifest link --- resources/views/v1/partials/favicons.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/v1/partials/favicons.twig b/resources/views/v1/partials/favicons.twig index c685dd3340..3d7760d7e3 100644 --- a/resources/views/v1/partials/favicons.twig +++ b/resources/views/v1/partials/favicons.twig @@ -1,7 +1,7 @@ - +