feat(pwa): Enable fullscreen mode for Android immersive reading (#2649)
- Change display from standalone to fullscreen with fallback options - Add viewport-fit=cover for notched device support Closes #2648
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "booklore",
|
"name": "booklore",
|
||||||
"short_name": "booklore",
|
"short_name": "booklore",
|
||||||
"display": "standalone",
|
"display": "fullscreen",
|
||||||
|
"display_override": ["fullscreen", "standalone", "browser"],
|
||||||
"scope": "./",
|
"scope": "./",
|
||||||
"start_url": "./",
|
"start_url": "./",
|
||||||
"icons": [
|
"icons": [
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>BookLore</title>
|
<title>BookLore</title>
|
||||||
<base href="/">
|
<base href="/">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover">
|
||||||
<link rel="icon" type="image/svg+xml" href="assets/favicon.svg"/>
|
<link rel="icon" type="image/svg+xml" href="assets/favicon.svg"/>
|
||||||
<link rel="manifest" href="manifest.webmanifest">
|
<link rel="manifest" href="manifest.webmanifest">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user