From 38af8a4c820d385e7801a5c557938044225e4468 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Tue, 11 Feb 2020 04:23:16 +0100 Subject: viewer: default configuration for mobile-web-app-capable manifest. Open the gallery in Chrome on Android, open the menu, then "Add to home screen". It will install the website as a standalone, fullscreen, app. --- viewer/public/manifest.json.example | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 viewer/public/manifest.json.example (limited to 'viewer/public/manifest.json.example') diff --git a/viewer/public/manifest.json.example b/viewer/public/manifest.json.example new file mode 100644 index 0000000..4ee40f1 --- /dev/null +++ b/viewer/public/manifest.json.example @@ -0,0 +1,18 @@ +{ + "short_name": "LdGallery", + "name": "LdGallery", + "icons": [ + { + "src": "defaulticon.svg", + "type": "image/svg+xml", + "sizes": "192x192" + }, + { + "src": "defaulticon.png", + "type": "image/png", + "sizes": "192x192" + } + ], + "display": "standalone", + "_comment": "https://developer.mozilla.org/en-US/docs/Web/Manifest" +} \ No newline at end of file -- cgit v1.2.3