From ae19754e238e0e690dc05f1598f7019ea098b972 Mon Sep 17 00:00:00 2001 From: "Sivachidambaram. S" Date: Tue, 16 Feb 2016 15:47:11 +0530 Subject: [PATCH] manifest.json added to add Restyaboard as weh application in mobile home screen from android chrome browser. --- .htaccess | 1 + client/index.html | 3 ++- client/manifest.json | 22 ++++++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 client/manifest.json diff --git a/.htaccess b/.htaccess index d963243ec..ba134b3b7 100644 --- a/.htaccess +++ b/.htaccess @@ -16,5 +16,6 @@ Options -Indexes RewriteRule ^$ client/ [QSA,L] RewriteRule ^(css|js|img|font|apps|locales)/(.*)$ client/$1/$2 [QSA,L] RewriteRule ^favicon.ico$ client/favicon.ico [L] + RewriteRule ^manifest.json$ client/manifest.json [L] RewriteRule ^apple-touch-icon(.*)$ client/apple-touch-icon$1 [L] \ No newline at end of file diff --git a/client/index.html b/client/index.html index 0979fd6ff..bf51fbd41 100644 --- a/client/index.html +++ b/client/index.html @@ -6,7 +6,8 @@ - + + diff --git a/client/manifest.json b/client/manifest.json new file mode 100644 index 000000000..04d2ede82 --- /dev/null +++ b/client/manifest.json @@ -0,0 +1,22 @@ +{ + "short_name": "Restyaboard", + "icons": [ + { + "src": "apple-touch-icon.png", + "sizes": "57x57", + "type": "image/png" + }, + { + "src": "apple-touch-icon-72x72.png", + "sizes": "72x72", + "type": "image/png" + }, + { + "src": "apple-touch-icon-114x114.png", + "sizes": "114x114", + "type": "image/png" + } + ], + "start_url": "/", + "display": "standalone" +} \ No newline at end of file