diff options
author | Zero~Informatique | 2020-02-11 04:23:16 +0100 |
---|---|---|
committer | pacien | 2020-02-13 22:53:32 +0100 |
commit | 38af8a4c820d385e7801a5c557938044225e4468 (patch) | |
tree | f8f05a4fd77994d502f618b47468bc71395b1484 /viewer/public/manifest.json.example | |
parent | 3503459d9c6e1f601702d79a560514dc44462277 (diff) | |
download | ldgallery-38af8a4c820d385e7801a5c557938044225e4468.tar.gz |
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.
Diffstat (limited to 'viewer/public/manifest.json.example')
-rw-r--r-- | viewer/public/manifest.json.example | 18 |
1 files changed, 18 insertions, 0 deletions
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 @@ | |||
1 | { | ||
2 | "short_name": "LdGallery", | ||
3 | "name": "LdGallery", | ||
4 | "icons": [ | ||
5 | { | ||
6 | "src": "defaulticon.svg", | ||
7 | "type": "image/svg+xml", | ||
8 | "sizes": "192x192" | ||
9 | }, | ||
10 | { | ||
11 | "src": "defaulticon.png", | ||
12 | "type": "image/png", | ||
13 | "sizes": "192x192" | ||
14 | } | ||
15 | ], | ||
16 | "display": "standalone", | ||
17 | "_comment": "https://developer.mozilla.org/en-US/docs/Web/Manifest" | ||
18 | } \ No newline at end of file | ||