Skip to content

Commit

Permalink
Add homescreen app manifest for Android Chrome
Browse files Browse the repository at this point in the history
Android Chrome fixed the keyboard issue, so we can finally use the
no-URL-bar version of the homescreen app.
  • Loading branch information
Zarel committed Oct 30, 2017
1 parent 9e35550 commit a8d78b3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
3 changes: 1 addition & 2 deletions cache.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ CACHE MANIFEST

# Explicitly cached 'master entries'.
CACHE:
sim.css
js/
data/
sprites/

# Resources that require the user to be online.
NETWORK:
1 change: 1 addition & 0 deletions index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/jquery.slider.min.css?" />
<!-- meta name="mobile-web-app-capable" content="yes" / -->
<!-- meta name="apple-mobile-web-app-capable" content="yes" / -->
<link rel="manifest" href="/manifest.json" />
<meta name="robots" content="noindex" />
<meta name="google-signin-client_id" content="912270888098-jjnre816lsuhc5clj3vbcn4o2q7p4qvk.apps.googleusercontent.com">
<script>
Expand Down
23 changes: 23 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"short_name": "Showdown!",
"name": "Pokémon Showdown!",
"icons": [
{
"src": "favicon-16.png",
"type": "image/png",
"sizes": "16x16"
},
{
"src": "favicon-48.png",
"type": "image/png",
"sizes": "48x48"
},
{
"src": "favicon-256.png",
"type": "image/png",
"sizes": "256x256"
}
],
"start_url": "/?utm_source=homescreen",
"display": "standalone"
}

0 comments on commit a8d78b3

Please sign in to comment.